blob: 89b5c542fe5cb7fad0e1fadff77a0c690b840e4c [file] [log] [blame]
LoopDawge5530b92017-11-08 19:48:11 -07001hlsl.texturebuffer.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:15 Function Definition: @main(vf4; ( temp 4-component vector of float)
60:15 Function Parameters:
70:15 'pos' ( in 4-component vector of float)
80:? Sequence
90:16 Branch: Return with expression
100:16 add ( temp 4-component vector of float)
110:16 f: direct index for structure (layout( row_major std430) buffer 4-component vector of float)
120:16 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i})
130:16 Constant:
140:16 0 (const int)
150:16 f2: direct index for structure (layout( row_major std430) buffer 4-component vector of float)
160:16 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2})
170:16 Constant:
180:16 0 (const uint)
190:15 Function Definition: main( ( temp void)
200:15 Function Parameters:
210:? Sequence
220:15 move second child to first child ( temp 4-component vector of float)
230:? 'pos' ( temp 4-component vector of float)
240:? 'pos' ( in 4-component vector of float FragCoord)
250:15 move second child to first child ( temp 4-component vector of float)
260:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
270:15 Function Call: @main(vf4; ( temp 4-component vector of float)
280:? 'pos' ( temp 4-component vector of float)
290:? Linker Objects
300:? 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i})
310:? 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2})
320:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
330:? 'pos' ( in 4-component vector of float FragCoord)
34
35
36Linked fragment stage:
37
38
39Shader version: 500
40gl_FragCoord origin is upper left
410:? Sequence
420:15 Function Definition: @main(vf4; ( temp 4-component vector of float)
430:15 Function Parameters:
440:15 'pos' ( in 4-component vector of float)
450:? Sequence
460:16 Branch: Return with expression
470:16 add ( temp 4-component vector of float)
480:16 f: direct index for structure (layout( row_major std430) buffer 4-component vector of float)
490:16 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i})
500:16 Constant:
510:16 0 (const int)
520:16 f2: direct index for structure (layout( row_major std430) buffer 4-component vector of float)
530:16 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2})
540:16 Constant:
550:16 0 (const uint)
560:15 Function Definition: main( ( temp void)
570:15 Function Parameters:
580:? Sequence
590:15 move second child to first child ( temp 4-component vector of float)
600:? 'pos' ( temp 4-component vector of float)
610:? 'pos' ( in 4-component vector of float FragCoord)
620:15 move second child to first child ( temp 4-component vector of float)
630:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
640:15 Function Call: @main(vf4; ( temp 4-component vector of float)
650:? 'pos' ( temp 4-component vector of float)
660:? Linker Objects
670:? 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i})
680:? 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2})
690:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
700:? 'pos' ( in 4-component vector of float FragCoord)
71
John Kessenich2b5ea9f2018-01-31 18:35:56 -070072// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -060073// Generated by (magic number): 80007
LoopDawge5530b92017-11-08 19:48:11 -070074// Id's are bound by 39
75
76 Capability Shader
77 1: ExtInstImport "GLSL.std.450"
78 MemoryModel Logical GLSL450
79 EntryPoint Fragment 4 "main" 32 35
80 ExecutionMode 4 OriginUpperLeft
81 Source HLSL 500
82 Name 4 "main"
83 Name 11 "@main(vf4;"
84 Name 10 "pos"
85 Name 15 "TextureBuffer_var"
86 MemberName 15(TextureBuffer_var) 0 "f"
87 MemberName 15(TextureBuffer_var) 1 "i"
88 Name 17 "TextureBuffer_var"
89 Name 22 "tbuf2"
90 MemberName 22(tbuf2) 0 "f2"
91 MemberName 22(tbuf2) 1 "i2"
92 Name 24 ""
93 Name 30 "pos"
94 Name 32 "pos"
95 Name 35 "@entryPointOutput"
96 Name 36 "param"
97 MemberDecorate 15(TextureBuffer_var) 0 NonWritable
98 MemberDecorate 15(TextureBuffer_var) 0 Offset 0
99 MemberDecorate 15(TextureBuffer_var) 1 NonWritable
100 MemberDecorate 15(TextureBuffer_var) 1 Offset 16
101 Decorate 15(TextureBuffer_var) BufferBlock
102 Decorate 17(TextureBuffer_var) DescriptorSet 0
103 Decorate 17(TextureBuffer_var) Binding 0
104 MemberDecorate 22(tbuf2) 0 NonWritable
105 MemberDecorate 22(tbuf2) 0 Offset 0
106 MemberDecorate 22(tbuf2) 1 NonWritable
107 MemberDecorate 22(tbuf2) 1 Offset 16
108 Decorate 22(tbuf2) BufferBlock
109 Decorate 24 DescriptorSet 0
110 Decorate 32(pos) BuiltIn FragCoord
111 Decorate 35(@entryPointOutput) Location 0
112 2: TypeVoid
113 3: TypeFunction 2
114 6: TypeFloat 32
115 7: TypeVector 6(float) 4
116 8: TypePointer Function 7(fvec4)
117 9: TypeFunction 7(fvec4) 8(ptr)
118 13: TypeInt 32 1
119 14: TypeVector 13(int) 4
12015(TextureBuffer_var): TypeStruct 7(fvec4) 14(ivec4)
121 16: TypePointer Uniform 15(TextureBuffer_var)
12217(TextureBuffer_var): 16(ptr) Variable Uniform
123 18: 13(int) Constant 0
124 19: TypePointer Uniform 7(fvec4)
125 22(tbuf2): TypeStruct 7(fvec4) 14(ivec4)
126 23: TypePointer Uniform 22(tbuf2)
127 24: 23(ptr) Variable Uniform
128 31: TypePointer Input 7(fvec4)
129 32(pos): 31(ptr) Variable Input
130 34: TypePointer Output 7(fvec4)
13135(@entryPointOutput): 34(ptr) Variable Output
132 4(main): 2 Function None 3
133 5: Label
134 30(pos): 8(ptr) Variable Function
135 36(param): 8(ptr) Variable Function
136 33: 7(fvec4) Load 32(pos)
137 Store 30(pos) 33
138 37: 7(fvec4) Load 30(pos)
139 Store 36(param) 37
140 38: 7(fvec4) FunctionCall 11(@main(vf4;) 36(param)
141 Store 35(@entryPointOutput) 38
142 Return
143 FunctionEnd
144 11(@main(vf4;): 7(fvec4) Function None 9
145 10(pos): 8(ptr) FunctionParameter
146 12: Label
147 20: 19(ptr) AccessChain 17(TextureBuffer_var) 18
148 21: 7(fvec4) Load 20
149 25: 19(ptr) AccessChain 24 18
150 26: 7(fvec4) Load 25
151 27: 7(fvec4) FAdd 21 26
152 ReturnValue 27
153 FunctionEnd