3 gl_FragCoord origin is upper left
5 0:9 Function Definition: @main(vf4; ( temp 4-component vector of float)
6 0:9 Function Parameters:
7 0:9 'input' ( in 4-component vector of float)
10 0:10 move second child to first child ( temp 4-component vector of float)
11 0:10 'tex' ( temp 4-component vector of float)
12 0:10 texture ( temp 4-component vector of float)
13 0:10 Construct combined texture-sampler ( temp sampler2D)
14 0:10 'test_texture' ( uniform texture2D)
15 0:10 'test_texture_ss' ( uniform sampler)
16 0:10 vector swizzle ( temp 2-component vector of float)
17 0:10 vector swizzle ( temp 2-component vector of float)
18 0:10 'input' ( in 4-component vector of float)
29 0:11 Branch: Return with expression
30 0:11 'tex' ( temp 4-component vector of float)
31 0:9 Function Definition: main( ( temp void)
32 0:9 Function Parameters:
34 0:9 move second child to first child ( temp 4-component vector of float)
35 0:? 'input' ( temp 4-component vector of float)
36 0:? 'input' (layout( location=0) in 4-component vector of float)
37 0:9 move second child to first child ( temp 4-component vector of float)
38 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
39 0:9 Function Call: @main(vf4; ( temp 4-component vector of float)
40 0:? 'input' ( temp 4-component vector of float)
42 0:? 'test_texture' ( uniform texture2D)
43 0:? 'test_texture_ss' ( uniform sampler)
44 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
45 0:? 'input' (layout( location=0) in 4-component vector of float)
48 Linked fragment stage:
52 gl_FragCoord origin is upper left
54 0:9 Function Definition: @main(vf4; ( temp 4-component vector of float)
55 0:9 Function Parameters:
56 0:9 'input' ( in 4-component vector of float)
59 0:10 move second child to first child ( temp 4-component vector of float)
60 0:10 'tex' ( temp 4-component vector of float)
61 0:10 texture ( temp 4-component vector of float)
62 0:10 Construct combined texture-sampler ( temp sampler2D)
63 0:10 'test_texture' ( uniform texture2D)
64 0:10 'test_texture_ss' ( uniform sampler)
65 0:10 vector swizzle ( temp 2-component vector of float)
66 0:10 vector swizzle ( temp 2-component vector of float)
67 0:10 'input' ( in 4-component vector of float)
78 0:11 Branch: Return with expression
79 0:11 'tex' ( temp 4-component vector of float)
80 0:9 Function Definition: main( ( temp void)
81 0:9 Function Parameters:
83 0:9 move second child to first child ( temp 4-component vector of float)
84 0:? 'input' ( temp 4-component vector of float)
85 0:? 'input' (layout( location=0) in 4-component vector of float)
86 0:9 move second child to first child ( temp 4-component vector of float)
87 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
88 0:9 Function Call: @main(vf4; ( temp 4-component vector of float)
89 0:? 'input' ( temp 4-component vector of float)
91 0:? 'test_texture' ( uniform texture2D)
92 0:? 'test_texture_ss' ( uniform sampler)
93 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
94 0:? 'input' (layout( location=0) in 4-component vector of float)
96 // Module Version 10000
97 // Generated by (magic number): 8000b
98 // Id's are bound by 40
101 1: ExtInstImport "GLSL.std.450"
102 MemoryModel Logical GLSL450
103 EntryPoint Fragment 4 "main" 33 36
104 ExecutionMode 4 OriginUpperLeft
110 Name 16 "test_texture"
111 Name 20 "test_texture_ss"
114 Name 36 "@entryPointOutput"
116 Decorate 16(test_texture) DescriptorSet 0
117 Decorate 16(test_texture) Binding 0
118 Decorate 20(test_texture_ss) DescriptorSet 0
119 Decorate 20(test_texture_ss) Binding 1
120 Decorate 33(input) Location 0
121 Decorate 36(@entryPointOutput) Location 0
125 7: TypeVector 6(float) 4
126 8: TypePointer Function 7(fvec4)
127 9: TypeFunction 7(fvec4) 8(ptr)
128 14: TypeImage 6(float) 2D sampled format:Unknown
129 15: TypePointer UniformConstant 14
130 16(test_texture): 15(ptr) Variable UniformConstant
132 19: TypePointer UniformConstant 18
133 20(test_texture_ss): 19(ptr) Variable UniformConstant
134 22: TypeSampledImage 14
135 24: TypeVector 6(float) 2
136 32: TypePointer Input 7(fvec4)
137 33(input): 32(ptr) Variable Input
138 35: TypePointer Output 7(fvec4)
139 36(@entryPointOutput): 35(ptr) Variable Output
140 4(main): 2 Function None 3
142 31(input): 8(ptr) Variable Function
143 37(param): 8(ptr) Variable Function
144 34: 7(fvec4) Load 33(input)
146 38: 7(fvec4) Load 31(input)
148 39: 7(fvec4) FunctionCall 11(@main(vf4;) 37(param)
149 Store 36(@entryPointOutput) 39
152 11(@main(vf4;): 7(fvec4) Function None 9
153 10(input): 8(ptr) FunctionParameter
155 13(tex): 8(ptr) Variable Function
156 17: 14 Load 16(test_texture)
157 21: 18 Load 20(test_texture_ss)
158 23: 22 SampledImage 17 21
159 25: 7(fvec4) Load 10(input)
160 26: 24(fvec2) VectorShuffle 25 25 0 1
161 27: 7(fvec4) ImageSampleImplicitLod 23 26
163 28: 7(fvec4) Load 13(tex)