blob: a8870b12f30d879daedfc00109cea3712a8a945a [file] [log] [blame]
steve-lunarg75fd2232016-11-16 13:22:11 -07001hlsl.identifier.sample.frag
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
steve-lunarg75fd2232016-11-16 13:22:11 -07003gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:9 Function Definition: sample(i1; ( temp int)
steve-lunarg75fd2232016-11-16 13:22:11 -070060:9 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -060070:9 'x' ( in int)
steve-lunarg75fd2232016-11-16 13:22:11 -070080:? Sequence
90:9 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600100:9 'x' ( in int)
110:12 Function Definition: @main( ( temp 4-component vector of float)
steve-lunarg75fd2232016-11-16 13:22:11 -0700120:12 Function Parameters:
130:? Sequence
140:15 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600150:15 move second child to first child ( temp 4-component vector of float)
160:15 'sample' ( temp 4-component vector of float)
steve-lunarga64ed3e2016-12-18 17:51:14 -0700170:? Constant:
180:? 3.000000
190:? 4.000000
200:? 5.000000
210:? 6.000000
John Kessenich02467d82017-01-19 15:41:47 -0700220:17 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600230:17 vector swizzle ( temp 4-component vector of float)
240:17 'sample' ( temp 4-component vector of float)
John Kessenich02467d82017-01-19 15:41:47 -0700250:17 Sequence
260:17 Constant:
270:17 0 (const int)
280:17 Constant:
290:17 1 (const int)
300:17 Constant:
310:17 2 (const int)
320:17 Constant:
330:17 3 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600340:12 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700350:12 Function Parameters:
360:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600370:12 move second child to first child ( temp 4-component vector of float)
380:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
390:12 Function Call: @main( ( temp 4-component vector of float)
steve-lunarg75fd2232016-11-16 13:22:11 -0700400:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600410:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
steve-lunarg75fd2232016-11-16 13:22:11 -070042
43
44Linked fragment stage:
45
46
John Kessenich6fa17642017-04-07 15:33:08 -060047Shader version: 500
steve-lunarg75fd2232016-11-16 13:22:11 -070048gl_FragCoord origin is upper left
490:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600500:9 Function Definition: sample(i1; ( temp int)
steve-lunarg75fd2232016-11-16 13:22:11 -0700510:9 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600520:9 'x' ( in int)
steve-lunarg75fd2232016-11-16 13:22:11 -0700530:? Sequence
540:9 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600550:9 'x' ( in int)
560:12 Function Definition: @main( ( temp 4-component vector of float)
steve-lunarg75fd2232016-11-16 13:22:11 -0700570:12 Function Parameters:
580:? Sequence
590:15 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600600:15 move second child to first child ( temp 4-component vector of float)
610:15 'sample' ( temp 4-component vector of float)
steve-lunarga64ed3e2016-12-18 17:51:14 -0700620:? Constant:
630:? 3.000000
640:? 4.000000
650:? 5.000000
660:? 6.000000
John Kessenich02467d82017-01-19 15:41:47 -0700670:17 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600680:17 vector swizzle ( temp 4-component vector of float)
690:17 'sample' ( temp 4-component vector of float)
John Kessenich02467d82017-01-19 15:41:47 -0700700:17 Sequence
710:17 Constant:
720:17 0 (const int)
730:17 Constant:
740:17 1 (const int)
750:17 Constant:
760:17 2 (const int)
770:17 Constant:
780:17 3 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600790:12 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700800:12 Function Parameters:
810:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600820:12 move second child to first child ( temp 4-component vector of float)
830:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
840:12 Function Call: @main( ( temp 4-component vector of float)
steve-lunarg75fd2232016-11-16 13:22:11 -0700850:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600860:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
steve-lunarg75fd2232016-11-16 13:22:11 -070087
88// Module Version 10000
89// Generated by (magic number): 80001
John Kessenich02467d82017-01-19 15:41:47 -070090// Id's are bound by 33
steve-lunarg75fd2232016-11-16 13:22:11 -070091
92 Capability Shader
93 1: ExtInstImport "GLSL.std.450"
94 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070095 EntryPoint Fragment 4 "main" 31
steve-lunarg75fd2232016-11-16 13:22:11 -070096 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -060097 Source HLSL 500
steve-lunarg75fd2232016-11-16 13:22:11 -070098 Name 4 "main"
99 Name 10 "sample(i1;"
100 Name 9 "x"
John Kessenich02467d82017-01-19 15:41:47 -0700101 Name 15 "@main("
102 Name 21 "sample"
103 Name 31 "@entryPointOutput"
104 Decorate 31(@entryPointOutput) Location 0
steve-lunarg75fd2232016-11-16 13:22:11 -0700105 2: TypeVoid
106 3: TypeFunction 2
107 6: TypeInt 32 1
108 7: TypePointer Function 6(int)
109 8: TypeFunction 6(int) 7(ptr)
John Kessenich02467d82017-01-19 15:41:47 -0700110 12: TypeFloat 32
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)
12031(@entryPointOutput): 30(ptr) Variable Output
steve-lunarg75fd2232016-11-16 13:22:11 -0700121 4(main): 2 Function None 3
122 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700123 32: 13(fvec4) FunctionCall 15(@main()
124 Store 31(@entryPointOutput) 32
steve-lunarg75fd2232016-11-16 13:22:11 -0700125 Return
126 FunctionEnd
127 10(sample(i1;): 6(int) Function None 8
128 9(x): 7(ptr) FunctionParameter
129 11: Label
John Kessenich02467d82017-01-19 15:41:47 -0700130 17: 6(int) Load 9(x)
131 ReturnValue 17
132 FunctionEnd
133 15(@main(): 13(fvec4) Function None 14
134 16: Label
135 21(sample): 20(ptr) Variable Function
136 Store 21(sample) 26
137 27: 13(fvec4) Load 21(sample)
138 ReturnValue 27
steve-lunarg75fd2232016-11-16 13:22:11 -0700139 FunctionEnd