blob: 257d56c708cf0bcd51db2134ed08415cc1fafa03 [file] [log] [blame]
LoopDawgb22c0692017-12-06 16:52:03 -07001hlsl.y-negate-1.vert
2Shader version: 500
30:? Sequence
40:7 Function Definition: @main( ( temp 4-component vector of float)
50:7 Function Parameters:
60:? Sequence
70:8 Branch: Return with expression
80:8 pos: direct index for structure ( uniform 4-component vector of float)
90:8 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos})
100:8 Constant:
110:8 0 (const uint)
120:7 Function Definition: main( ( temp void)
130:7 Function Parameters:
140:? Sequence
150:7 Sequence
160:7 move second child to first child ( temp 4-component vector of float)
170:7 '@position' ( temp 4-component vector of float)
180:7 Function Call: @main( ( temp 4-component vector of float)
190:7 move second child to first child ( temp float)
200:7 direct index ( temp float)
210:7 '@position' ( temp 4-component vector of float)
220:7 Constant:
230:7 1 (const int)
240:7 Negate value ( temp float)
250:7 direct index ( temp float)
260:7 '@position' ( temp 4-component vector of float)
270:7 Constant:
280:7 1 (const int)
290:7 move second child to first child ( temp 4-component vector of float)
300:? '@entryPointOutput' ( out 4-component vector of float Position)
310:7 '@position' ( temp 4-component vector of float)
320:? Linker Objects
330:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos})
340:? '@entryPointOutput' ( out 4-component vector of float Position)
35
36
37Linked vertex stage:
38
39
40Shader version: 500
410:? Sequence
420:7 Function Definition: @main( ( temp 4-component vector of float)
430:7 Function Parameters:
440:? Sequence
450:8 Branch: Return with expression
460:8 pos: direct index for structure ( uniform 4-component vector of float)
470:8 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos})
480:8 Constant:
490:8 0 (const uint)
500:7 Function Definition: main( ( temp void)
510:7 Function Parameters:
520:? Sequence
530:7 Sequence
540:7 move second child to first child ( temp 4-component vector of float)
550:7 '@position' ( temp 4-component vector of float)
560:7 Function Call: @main( ( temp 4-component vector of float)
570:7 move second child to first child ( temp float)
580:7 direct index ( temp float)
590:7 '@position' ( temp 4-component vector of float)
600:7 Constant:
610:7 1 (const int)
620:7 Negate value ( temp float)
630:7 direct index ( temp float)
640:7 '@position' ( temp 4-component vector of float)
650:7 Constant:
660:7 1 (const int)
670:7 move second child to first child ( temp 4-component vector of float)
680:? '@entryPointOutput' ( out 4-component vector of float Position)
690:7 '@position' ( temp 4-component vector of float)
700:? Linker Objects
710:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos})
720:? '@entryPointOutput' ( out 4-component vector of float Position)
73
John Kessenich2b5ea9f2018-01-31 18:35:56 -070074// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -060075// Generated by (magic number): 80007
John Kessenichb3cff2f2017-12-21 12:17:25 -070076// Id's are bound by 34
LoopDawgb22c0692017-12-06 16:52:03 -070077
78 Capability Shader
79 1: ExtInstImport "GLSL.std.450"
80 MemoryModel Logical GLSL450
81 EntryPoint Vertex 4 "main" 32
82 Source HLSL 500
83 Name 4 "main"
John Kessenichb3cff2f2017-12-21 12:17:25 -070084 Name 9 "@main("
LoopDawgb22c0692017-12-06 16:52:03 -070085 Name 11 "$Global"
86 MemberName 11($Global) 0 "pos"
87 Name 13 ""
John Kessenichb3cff2f2017-12-21 12:17:25 -070088 Name 22 "@position"
LoopDawgb22c0692017-12-06 16:52:03 -070089 Name 32 "@entryPointOutput"
90 MemberDecorate 11($Global) 0 Offset 0
91 Decorate 11($Global) Block
92 Decorate 13 DescriptorSet 0
93 Decorate 32(@entryPointOutput) BuiltIn Position
94 2: TypeVoid
95 3: TypeFunction 2
96 6: TypeFloat 32
97 7: TypeVector 6(float) 4
John Kessenichb3cff2f2017-12-21 12:17:25 -070098 8: TypeFunction 7(fvec4)
LoopDawgb22c0692017-12-06 16:52:03 -070099 11($Global): TypeStruct 7(fvec4)
100 12: TypePointer Uniform 11($Global)
101 13: 12(ptr) Variable Uniform
102 14: TypeInt 32 1
103 15: 14(int) Constant 0
104 16: TypePointer Uniform 7(fvec4)
John Kessenichb3cff2f2017-12-21 12:17:25 -0700105 21: TypePointer Function 7(fvec4)
106 24: TypeInt 32 0
107 25: 24(int) Constant 1
108 26: TypePointer Function 6(float)
LoopDawgb22c0692017-12-06 16:52:03 -0700109 31: TypePointer Output 7(fvec4)
11032(@entryPointOutput): 31(ptr) Variable Output
111 4(main): 2 Function None 3
112 5: Label
John Kessenichb3cff2f2017-12-21 12:17:25 -0700113 22(@position): 21(ptr) Variable Function
114 23: 7(fvec4) FunctionCall 9(@main()
115 Store 22(@position) 23
116 27: 26(ptr) AccessChain 22(@position) 25
117 28: 6(float) Load 27
118 29: 6(float) FNegate 28
119 30: 26(ptr) AccessChain 22(@position) 25
120 Store 30 29
121 33: 7(fvec4) Load 22(@position)
122 Store 32(@entryPointOutput) 33
LoopDawgb22c0692017-12-06 16:52:03 -0700123 Return
124 FunctionEnd
John Kessenichb3cff2f2017-12-21 12:17:25 -0700125 9(@main(): 7(fvec4) Function None 8
126 10: Label
127 17: 16(ptr) AccessChain 13 15
128 18: 7(fvec4) Load 17
129 ReturnValue 18
130 FunctionEnd