3 gl_FragCoord origin is upper left
5 0:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
6 0:16 Function Parameters:
8 0:18 move second child to first child ( temp 4-component vector of float)
9 0:18 Color: direct index for structure ( temp 4-component vector of float)
10 0:18 'psout' ( temp structure{ temp 4-component vector of float Color})
18 0:19 Branch: Return with expression
19 0:19 'psout' ( temp structure{ temp 4-component vector of float Color})
20 0:16 Function Definition: main( ( temp void)
21 0:16 Function Parameters:
24 0:16 move second child to first child ( temp 4-component vector of float)
25 0:? 'Color' (layout( location=0) out 4-component vector of float)
26 0:16 Color: direct index for structure ( temp 4-component vector of float)
27 0:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
31 0:? 'TestTexture' ( uniform texture2D)
32 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
33 0:? 'Color' (layout( location=0) out 4-component vector of float)
36 Linked fragment stage:
40 gl_FragCoord origin is upper left
42 0:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
43 0:16 Function Parameters:
45 0:18 move second child to first child ( temp 4-component vector of float)
46 0:18 Color: direct index for structure ( temp 4-component vector of float)
47 0:18 'psout' ( temp structure{ temp 4-component vector of float Color})
55 0:19 Branch: Return with expression
56 0:19 'psout' ( temp structure{ temp 4-component vector of float Color})
57 0:16 Function Definition: main( ( temp void)
58 0:16 Function Parameters:
61 0:16 move second child to first child ( temp 4-component vector of float)
62 0:? 'Color' (layout( location=0) out 4-component vector of float)
63 0:16 Color: direct index for structure ( temp 4-component vector of float)
64 0:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
68 0:? 'TestTexture' ( uniform texture2D)
69 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
70 0:? 'Color' (layout( location=0) out 4-component vector of float)
72 // Module Version 10000
73 // Generated by (magic number): 80001
74 // Id's are bound by 34
77 1: ExtInstImport "GLSL.std.450"
78 MemoryModel Logical GLSL450
79 EntryPoint Fragment 4 "main" 25
80 ExecutionMode 4 OriginUpperLeft
83 MemberName 8(PS_OUTPUT) 0 "Color"
89 MemberName 31($Global) 0 "TestUF"
91 Decorate 25(Color) Location 0
92 Decorate 30(TestTexture) DescriptorSet 0
93 MemberDecorate 31($Global) 0 Offset 0
94 Decorate 31($Global) Block
95 Decorate 33 DescriptorSet 0
99 7: TypeVector 6(float) 4
100 8(PS_OUTPUT): TypeStruct 7(fvec4)
101 9: TypeFunction 8(PS_OUTPUT)
102 12: TypePointer Function 8(PS_OUTPUT)
104 15: 14(int) Constant 0
105 16: 6(float) Constant 0
106 17: 6(float) Constant 1065353216
107 18: 7(fvec4) ConstantComposite 16 16 16 17
108 19: TypePointer Function 7(fvec4)
109 24: TypePointer Output 7(fvec4)
110 25(Color): 24(ptr) Variable Output
111 28: TypeImage 6(float) 2D sampled format:Unknown
112 29: TypePointer UniformConstant 28
113 30(TestTexture): 29(ptr) Variable UniformConstant
114 31($Global): TypeStruct 7(fvec4)
115 32: TypePointer Uniform 31($Global)
116 33: 32(ptr) Variable Uniform
117 4(main): 2 Function None 3
119 26:8(PS_OUTPUT) FunctionCall 10(@main()
120 27: 7(fvec4) CompositeExtract 26 0
124 10(@main():8(PS_OUTPUT) Function None 9
126 13(psout): 12(ptr) Variable Function
127 20: 19(ptr) AccessChain 13(psout) 15
129 21:8(PS_OUTPUT) Load 13(psout)