1 hlsl.scalar-length.frag
3 gl_FragCoord origin is upper left
5 0:2 Function Definition: @main( ( temp 4-component vector of float)
6 0:2 Function Parameters:
9 0:3 move second child to first child ( temp 4-component vector of float)
10 0:3 'test' ( temp 4-component vector of float)
16 0:5 Branch: Return with expression
17 0:5 Construct vec4 ( temp 4-component vector of float)
18 0:5 length ( temp float)
19 0:5 direct index ( temp float)
20 0:5 'test' ( temp 4-component vector of float)
23 0:2 Function Definition: main( ( temp void)
24 0:2 Function Parameters:
26 0:2 move second child to first child ( temp 4-component vector of float)
27 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
28 0:2 Function Call: @main( ( temp 4-component vector of float)
30 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
33 Linked fragment stage:
37 gl_FragCoord origin is upper left
39 0:2 Function Definition: @main( ( temp 4-component vector of float)
40 0:2 Function Parameters:
43 0:3 move second child to first child ( temp 4-component vector of float)
44 0:3 'test' ( temp 4-component vector of float)
50 0:5 Branch: Return with expression
51 0:5 Construct vec4 ( temp 4-component vector of float)
52 0:5 length ( temp float)
53 0:5 direct index ( temp float)
54 0:5 'test' ( temp 4-component vector of float)
57 0:2 Function Definition: main( ( temp void)
58 0:2 Function Parameters:
60 0:2 move second child to first child ( temp 4-component vector of float)
61 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
62 0:2 Function Call: @main( ( temp 4-component vector of float)
64 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
66 // Module Version 10000
67 // Generated by (magic number): 80001
68 // Id's are bound by 30
71 1: ExtInstImport "GLSL.std.450"
72 MemoryModel Logical GLSL450
73 EntryPoint Fragment 4 "main" 28
74 ExecutionMode 4 OriginUpperLeft
78 Name 28 "@entryPointOutput"
79 Decorate 28(@entryPointOutput) Location 0
83 7: TypeVector 6(float) 4
84 8: TypeFunction 7(fvec4)
85 11: TypePointer Function 7(fvec4)
86 13: 6(float) Constant 0
87 14: 6(float) Constant 1065353216
88 15: 6(float) Constant 1073741824
89 16: 6(float) Constant 1077936128
90 17: 7(fvec4) ConstantComposite 13 14 15 16
92 19: 18(int) Constant 3
93 20: TypePointer Function 6(float)
94 27: TypePointer Output 7(fvec4)
95 28(@entryPointOutput): 27(ptr) Variable Output
96 4(main): 2 Function None 3
98 29: 7(fvec4) FunctionCall 9(@main()
99 Store 28(@entryPointOutput) 29
102 9(@main(): 7(fvec4) Function None 8
104 12(test): 11(ptr) Variable Function
106 21: 20(ptr) AccessChain 12(test) 19
108 23: 6(float) ExtInst 1(GLSL.std.450) 66(Length) 22
109 24: 7(fvec4) CompositeConstruct 23 23 23 23