1 hlsl.identifier.sample.frag
3 gl_FragCoord origin is upper left
5 0:9 Function Definition: sample(i1; ( temp int)
6 0:9 Function Parameters:
9 0:9 Branch: Return with expression
11 0:12 Function Definition: @main( ( temp 4-component vector of float)
12 0:12 Function Parameters:
15 0:15 move second child to first child ( temp 4-component vector of float)
16 0:15 'sample' ( temp 4-component vector of float)
22 0:17 Branch: Return with expression
23 0:17 vector swizzle ( temp 4-component vector of float)
24 0:17 'sample' ( temp 4-component vector of float)
34 0:12 Function Definition: main( ( temp void)
35 0:12 Function Parameters:
37 0:12 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:12 Function Call: @main( ( temp 4-component vector of float)
41 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
44 Linked fragment stage:
48 gl_FragCoord origin is upper left
50 0:9 Function Definition: sample(i1; ( temp int)
51 0:9 Function Parameters:
54 0:9 Branch: Return with expression
56 0:12 Function Definition: @main( ( temp 4-component vector of float)
57 0:12 Function Parameters:
60 0:15 move second child to first child ( temp 4-component vector of float)
61 0:15 'sample' ( temp 4-component vector of float)
67 0:17 Branch: Return with expression
68 0:17 vector swizzle ( temp 4-component vector of float)
69 0:17 'sample' ( temp 4-component vector of float)
79 0:12 Function Definition: main( ( temp void)
80 0:12 Function Parameters:
82 0:12 move second child to first child ( temp 4-component vector of float)
83 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
84 0:12 Function Call: @main( ( temp 4-component vector of float)
86 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
88 // Module Version 10000
89 // Generated by (magic number): 8000a
90 // Id's are bound by 33
93 1: ExtInstImport "GLSL.std.450"
94 MemoryModel Logical GLSL450
95 EntryPoint Fragment 4 "main" 31
96 ExecutionMode 4 OriginUpperLeft
103 Name 31 "@entryPointOutput"
104 Decorate 31(@entryPointOutput) Location 0
108 7: TypePointer Function 6(int)
109 8: TypeFunction 6(int) 7(ptr)
111 13: TypeVector 12(float) 4
112 14: TypeFunction 13(fvec4)
113 20: TypePointer Function 13(fvec4)
114 22: 12(float) Constant 1077936128
115 23: 12(float) Constant 1082130432
116 24: 12(float) Constant 1084227584
117 25: 12(float) Constant 1086324736
118 26: 13(fvec4) ConstantComposite 22 23 24 25
119 30: TypePointer Output 13(fvec4)
120 31(@entryPointOutput): 30(ptr) Variable Output
121 4(main): 2 Function None 3
123 32: 13(fvec4) FunctionCall 15(@main()
124 Store 31(@entryPointOutput) 32
127 10(sample(i1;): 6(int) Function None 8
128 9(x): 7(ptr) FunctionParameter
133 15(@main(): 13(fvec4) Function None 14
135 21(sample): 20(ptr) Variable Function
137 27: 13(fvec4) Load 21(sample)