3 gl_FragCoord origin is upper left
5 0:16 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of float)
6 0:16 Function Parameters:
7 0:16 'input' ( in 4-component vector of float)
10 0:17 move second child to first child ( temp 4-component vector of float)
11 0:17 'layout' ( temp 4-component vector of float)
17 0:18 Branch: Return with expression
18 0:18 add ( temp 4-component vector of float)
19 0:18 add ( temp 4-component vector of float)
20 0:18 add ( temp 4-component vector of float)
21 0:18 'input' ( in 4-component vector of float)
22 0:18 v1: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float)
23 0:18 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1})
26 0:18 v5: direct index for structure (layout( row_major std430 offset=0) buffer 4-component vector of float)
27 0:18 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5})
30 0:18 component-wise multiply ( temp 4-component vector of float)
31 0:18 v1PostLayout: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float)
32 0:18 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout})
35 0:18 'layout' ( temp 4-component vector of float)
37 0:? 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1})
38 0:? 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5})
39 0:? 'specConst' ( specialization-constant const int)
41 0:? 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout})
44 Linked fragment stage:
46 WARNING: Linking fragment stage: Entry point not found
49 gl_FragCoord origin is upper left
51 0:16 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of float)
52 0:16 Function Parameters:
53 0:16 'input' ( in 4-component vector of float)
56 0:17 move second child to first child ( temp 4-component vector of float)
57 0:17 'layout' ( temp 4-component vector of float)
63 0:18 Branch: Return with expression
64 0:18 add ( temp 4-component vector of float)
65 0:18 add ( temp 4-component vector of float)
66 0:18 add ( temp 4-component vector of float)
67 0:18 'input' ( in 4-component vector of float)
68 0:18 v1: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float)
69 0:18 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1})
72 0:18 v5: direct index for structure (layout( row_major std430 offset=0) buffer 4-component vector of float)
73 0:18 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5})
76 0:18 component-wise multiply ( temp 4-component vector of float)
77 0:18 v1PostLayout: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float)
78 0:18 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout})
81 0:18 'layout' ( temp 4-component vector of float)
83 0:? 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1})
84 0:? 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5})
85 0:? 'specConst' ( specialization-constant const int)
87 0:? 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout})
90 // Module Version 10000
91 // Generated by (magic number): 80009
92 // Id's are bound by 44
95 1: ExtInstImport "GLSL.std.450"
96 MemoryModel Logical GLSL450
97 EntryPoint Fragment 4 "main"
98 ExecutionMode 4 OriginUpperLeft
101 Name 11 "PixelShaderFunction(vf4;"
105 MemberName 17(tbufName) 0 "v1"
108 MemberName 26(tbufName2) 0 "v5"
111 MemberName 33(tbufName2) 0 "v1PostLayout"
114 MemberDecorate 17(tbufName) 0 NonWritable
115 MemberDecorate 17(tbufName) 0 Offset 16
116 Decorate 17(tbufName) BufferBlock
117 Decorate 19 DescriptorSet 3
118 Decorate 19 Binding 5
119 MemberDecorate 26(tbufName2) 0 NonWritable
120 MemberDecorate 26(tbufName2) 0 Offset 0
121 Decorate 26(tbufName2) BufferBlock
122 MemberDecorate 33(tbufName2) 0 NonWritable
123 MemberDecorate 33(tbufName2) 0 Offset 16
124 Decorate 33(tbufName2) BufferBlock
125 Decorate 35 DescriptorSet 4
126 Decorate 35 Binding 7
127 Decorate 43(specConst) SpecId 17
131 7: TypeVector 6(float) 4
132 8: TypePointer Function 7(fvec4)
133 9: TypeFunction 7(fvec4) 8(ptr)
134 14: 6(float) Constant 1073741824
135 15: 7(fvec4) ConstantComposite 14 14 14 14
136 17(tbufName): TypeStruct 7(fvec4)
137 18: TypePointer Uniform 17(tbufName)
138 19: 18(ptr) Variable Uniform
140 21: 20(int) Constant 0
141 22: TypePointer Uniform 7(fvec4)
142 26(tbufName2): TypeStruct 7(fvec4)
143 27: TypePointer PushConstant 26(tbufName2)
144 28: 27(ptr) Variable PushConstant
145 29: TypePointer PushConstant 7(fvec4)
146 33(tbufName2): TypeStruct 7(fvec4)
147 34: TypePointer Uniform 33(tbufName2)
148 35: 34(ptr) Variable Uniform
149 43(specConst): 20(int) SpecConstant 10
150 4(main): 2 Function None 3
154 11(PixelShaderFunction(vf4;): 7(fvec4) Function None 9
155 10(input): 8(ptr) FunctionParameter
157 13(layout): 8(ptr) Variable Function
159 16: 7(fvec4) Load 10(input)
160 23: 22(ptr) AccessChain 19 21
162 25: 7(fvec4) FAdd 16 24
163 30: 29(ptr) AccessChain 28 21
165 32: 7(fvec4) FAdd 25 31
166 36: 22(ptr) AccessChain 35 21
168 38: 7(fvec4) Load 13(layout)
169 39: 7(fvec4) FMul 37 38
170 40: 7(fvec4) FAdd 32 39