1 hlsl.attributeGlobalBuffer.frag
3 gl_FragCoord origin is upper left
5 0:6 Function Definition: @main( ( temp 4-component vector of float)
6 0:6 Function Parameters:
8 0:7 Branch: Return with expression
9 0:7 add ( temp 4-component vector of float)
10 0:7 u1: direct index for structure ( uniform 4-component vector of float)
11 0:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2})
14 0:7 u2: direct index for structure ( uniform 4-component vector of float)
15 0:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2})
18 0:6 Function Definition: main( ( temp void)
19 0:6 Function Parameters:
21 0:6 move second child to first child ( temp 4-component vector of float)
22 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
23 0:6 Function Call: @main( ( temp 4-component vector of float)
25 0:? 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2})
26 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
29 Linked fragment stage:
33 gl_FragCoord origin is upper left
35 0:6 Function Definition: @main( ( temp 4-component vector of float)
36 0:6 Function Parameters:
38 0:7 Branch: Return with expression
39 0:7 add ( temp 4-component vector of float)
40 0:7 u1: direct index for structure ( uniform 4-component vector of float)
41 0:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2})
44 0:7 u2: direct index for structure ( uniform 4-component vector of float)
45 0:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2})
48 0:6 Function Definition: main( ( temp void)
49 0:6 Function Parameters:
51 0:6 move second child to first child ( temp 4-component vector of float)
52 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
53 0:6 Function Call: @main( ( temp 4-component vector of float)
55 0:? 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2})
56 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
58 // Module Version 10000
59 // Generated by (magic number): 8000b
60 // Id's are bound by 28
63 1: ExtInstImport "GLSL.std.450"
64 MemoryModel Logical GLSL450
65 EntryPoint Fragment 4 "main" 26
66 ExecutionMode 4 OriginUpperLeft
71 MemberName 11($Global) 0 "u1"
72 MemberName 11($Global) 1 "u2"
74 Name 26 "@entryPointOutput"
75 MemberDecorate 11($Global) 0 Offset 0
76 MemberDecorate 11($Global) 1 Offset 16
77 Decorate 11($Global) Block
78 Decorate 13 DescriptorSet 2
80 Decorate 26(@entryPointOutput) Location 0
84 7: TypeVector 6(float) 4
85 8: TypeFunction 7(fvec4)
86 11($Global): TypeStruct 7(fvec4) 7(fvec4)
87 12: TypePointer Uniform 11($Global)
88 13: 12(ptr) Variable Uniform
90 15: 14(int) Constant 0
91 16: TypePointer Uniform 7(fvec4)
92 19: 14(int) Constant 1
93 25: TypePointer Output 7(fvec4)
94 26(@entryPointOutput): 25(ptr) Variable Output
95 4(main): 2 Function None 3
97 27: 7(fvec4) FunctionCall 9(@main()
98 Store 26(@entryPointOutput) 27
101 9(@main(): 7(fvec4) Function None 8
103 17: 16(ptr) AccessChain 13 15
105 20: 16(ptr) AccessChain 13 19
107 22: 7(fvec4) FAdd 18 21