blob: 699fb8d8528d0e4b678f589d6bef5646dc391ea7 [file] [log] [blame]
steve-lunarga8456412016-08-17 16:18:06 -06001remap.hlsl.sample.basic.none.frag
2WARNING: 0:4: 'immediate sampler state' : unimplemented
3
steve-lunarga8456412016-08-17 16:18:06 -06004// Module Version 10000
John Kessenich07ed11f2017-10-07 11:33:11 -06005// Generated by (magic number): 80002
John Kessenich02467d82017-01-19 15:41:47 -07006// Id's are bound by 198
steve-lunarga8456412016-08-17 16:18:06 -06007
8 Capability Shader
9 Capability Sampled1D
10 1: ExtInstImport "GLSL.std.450"
11 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070012 EntryPoint Fragment 4 "main" 188 192
steve-lunarga8456412016-08-17 16:18:06 -060013 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -060014 Source HLSL 500
steve-lunarga8456412016-08-17 16:18:06 -060015 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -070016 Name 8 "PS_OUTPUT"
17 MemberName 8(PS_OUTPUT) 0 "Color"
18 MemberName 8(PS_OUTPUT) 1 "Depth"
19 Name 10 "@main("
20 Name 13 "MemberTest"
21 MemberName 13(MemberTest) 0 "Sample"
22 MemberName 13(MemberTest) 1 "CalculateLevelOfDetail"
23 MemberName 13(MemberTest) 2 "CalculateLevelOfDetailUnclamped"
24 MemberName 13(MemberTest) 3 "Gather"
25 MemberName 13(MemberTest) 4 "GetDimensions"
26 MemberName 13(MemberTest) 5 "GetSamplePosition"
27 MemberName 13(MemberTest) 6 "Load"
28 MemberName 13(MemberTest) 7 "SampleBias"
29 MemberName 13(MemberTest) 8 "SampleCmp"
30 MemberName 13(MemberTest) 9 "SampleCmpLevelZero"
31 MemberName 13(MemberTest) 10 "SampleGrad"
32 MemberName 13(MemberTest) 11 "SampleLevel"
33 Name 15 "mtest"
34 Name 42 "txval10"
35 Name 45 "g_tTex1df4"
36 Name 49 "g_sSamp"
37 Name 57 "txval11"
38 Name 60 "g_tTex1di4"
39 Name 70 "txval12"
40 Name 73 "g_tTex1du4"
41 Name 80 "txval20"
42 Name 83 "g_tTex2df4"
43 Name 91 "txval21"
44 Name 94 "g_tTex2di4"
45 Name 102 "txval22"
46 Name 105 "g_tTex2du4"
47 Name 114 "txval30"
48 Name 117 "g_tTex3df4"
49 Name 125 "txval31"
50 Name 128 "g_tTex3di4"
51 Name 135 "txval32"
52 Name 138 "g_tTex3du4"
53 Name 148 "txval40"
54 Name 151 "g_tTexcdf4"
55 Name 157 "txval41"
56 Name 160 "g_tTexcdi4"
57 Name 166 "txval42"
58 Name 169 "g_tTexcdu4"
59 Name 176 "psout"
60 Name 185 "flattenTemp"
John Kesseniche516d432017-08-09 14:29:29 -060061 Name 188 "@entryPointOutput.Color"
62 Name 192 "@entryPointOutput.Depth"
John Kessenich02467d82017-01-19 15:41:47 -070063 Name 195 "g_sSamp2d"
64 Name 196 "g_sSamp2D_b"
65 Name 197 "g_tTex1df4a"
66 Decorate 45(g_tTex1df4) DescriptorSet 0
67 Decorate 45(g_tTex1df4) Binding 0
68 Decorate 49(g_sSamp) DescriptorSet 0
69 Decorate 49(g_sSamp) Binding 0
70 Decorate 60(g_tTex1di4) DescriptorSet 0
71 Decorate 73(g_tTex1du4) DescriptorSet 0
72 Decorate 83(g_tTex2df4) DescriptorSet 0
73 Decorate 94(g_tTex2di4) DescriptorSet 0
74 Decorate 105(g_tTex2du4) DescriptorSet 0
75 Decorate 117(g_tTex3df4) DescriptorSet 0
76 Decorate 128(g_tTex3di4) DescriptorSet 0
77 Decorate 138(g_tTex3du4) DescriptorSet 0
78 Decorate 151(g_tTexcdf4) DescriptorSet 0
79 Decorate 160(g_tTexcdi4) DescriptorSet 0
80 Decorate 169(g_tTexcdu4) DescriptorSet 0
John Kesseniche516d432017-08-09 14:29:29 -060081 Decorate 188(@entryPointOutput.Color) Location 0
82 Decorate 192(@entryPointOutput.Depth) BuiltIn FragDepth
John Kessenich02467d82017-01-19 15:41:47 -070083 Decorate 195(g_sSamp2d) DescriptorSet 0
84 Decorate 196(g_sSamp2D_b) DescriptorSet 0
85 Decorate 197(g_tTex1df4a) DescriptorSet 0
86 Decorate 197(g_tTex1df4a) Binding 1
steve-lunarga8456412016-08-17 16:18:06 -060087 2: TypeVoid
88 3: TypeFunction 2
John Kessenich02467d82017-01-19 15:41:47 -070089 6: TypeFloat 32
90 7: TypeVector 6(float) 4
91 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
92 9: TypeFunction 8(PS_OUTPUT)
93 12: TypeInt 32 1
94 13(MemberTest): TypeStruct 12(int) 12(int) 12(int) 12(int) 12(int) 12(int) 12(int) 12(int) 12(int) 12(int) 12(int) 12(int)
95 14: TypePointer Function 13(MemberTest)
96 16: 12(int) Constant 1
97 17: TypePointer Function 12(int)
98 19: 12(int) Constant 2
99 21: 12(int) Constant 3
100 23: 12(int) Constant 4
101 25: 12(int) Constant 5
102 27: 12(int) Constant 6
103 29: 12(int) Constant 0
104 31: 12(int) Constant 7
105 33: 12(int) Constant 8
106 35: 12(int) Constant 9
107 37: 12(int) Constant 10
108 39: 12(int) Constant 11
109 41: TypePointer Function 7(fvec4)
110 43: TypeImage 6(float) 1D sampled format:Unknown
steve-lunarga8456412016-08-17 16:18:06 -0600111 44: TypePointer UniformConstant 43
John Kessenich02467d82017-01-19 15:41:47 -0700112 45(g_tTex1df4): 44(ptr) Variable UniformConstant
113 47: TypeSampler
114 48: TypePointer UniformConstant 47
115 49(g_sSamp): 48(ptr) Variable UniformConstant
116 51: TypeSampledImage 43
117 53: 6(float) Constant 1036831949
118 55: TypeVector 12(int) 4
119 56: TypePointer Function 55(ivec4)
120 58: TypeImage 12(int) 1D sampled format:Unknown
121 59: TypePointer UniformConstant 58
122 60(g_tTex1di4): 59(ptr) Variable UniformConstant
123 63: TypeSampledImage 58
124 65: 6(float) Constant 1045220557
125 67: TypeInt 32 0
126 68: TypeVector 67(int) 4
127 69: TypePointer Function 68(ivec4)
128 71: TypeImage 67(int) 1D sampled format:Unknown
129 72: TypePointer UniformConstant 71
130 73(g_tTex1du4): 72(ptr) Variable UniformConstant
131 76: TypeSampledImage 71
132 78: 6(float) Constant 1050253722
133 81: TypeImage 6(float) 2D sampled format:Unknown
134 82: TypePointer UniformConstant 81
135 83(g_tTex2df4): 82(ptr) Variable UniformConstant
136 86: TypeSampledImage 81
137 88: TypeVector 6(float) 2
138 89: 88(fvec2) ConstantComposite 53 65
139 92: TypeImage 12(int) 2D sampled format:Unknown
140 93: TypePointer UniformConstant 92
141 94(g_tTex2di4): 93(ptr) Variable UniformConstant
142 97: TypeSampledImage 92
143 99: 6(float) Constant 1053609165
144 100: 88(fvec2) ConstantComposite 78 99
145 103: TypeImage 67(int) 2D sampled format:Unknown
146 104: TypePointer UniformConstant 103
147 105(g_tTex2du4): 104(ptr) Variable UniformConstant
148 108: TypeSampledImage 103
149 110: 6(float) Constant 1056964608
150 111: 6(float) Constant 1058642330
151 112: 88(fvec2) ConstantComposite 110 111
152 115: TypeImage 6(float) 3D sampled format:Unknown
153 116: TypePointer UniformConstant 115
154 117(g_tTex3df4): 116(ptr) Variable UniformConstant
155 120: TypeSampledImage 115
156 122: TypeVector 6(float) 3
157 123: 122(fvec3) ConstantComposite 53 65 78
158 126: TypeImage 12(int) 3D sampled format:Unknown
159 127: TypePointer UniformConstant 126
160 128(g_tTex3di4): 127(ptr) Variable UniformConstant
161 131: TypeSampledImage 126
162 133: 122(fvec3) ConstantComposite 99 110 111
163 136: TypeImage 67(int) 3D sampled format:Unknown
164 137: TypePointer UniformConstant 136
165 138(g_tTex3du4): 137(ptr) Variable UniformConstant
166 141: TypeSampledImage 136
167 143: 6(float) Constant 1060320051
168 144: 6(float) Constant 1061997773
169 145: 6(float) Constant 1063675494
170 146: 122(fvec3) ConstantComposite 143 144 145
171 149: TypeImage 6(float) Cube sampled format:Unknown
172 150: TypePointer UniformConstant 149
173 151(g_tTexcdf4): 150(ptr) Variable UniformConstant
174 154: TypeSampledImage 149
175 158: TypeImage 12(int) Cube sampled format:Unknown
176 159: TypePointer UniformConstant 158
177 160(g_tTexcdi4): 159(ptr) Variable UniformConstant
178 163: TypeSampledImage 158
179 167: TypeImage 67(int) Cube sampled format:Unknown
180 168: TypePointer UniformConstant 167
181 169(g_tTexcdu4): 168(ptr) Variable UniformConstant
182 172: TypeSampledImage 167
183 175: TypePointer Function 8(PS_OUTPUT)
184 177: 6(float) Constant 1065353216
185 178: 7(fvec4) ConstantComposite 177 177 177 177
186 180: TypePointer Function 6(float)
187 187: TypePointer Output 7(fvec4)
John Kesseniche516d432017-08-09 14:29:29 -0600188188(@entryPointOutput.Color): 187(ptr) Variable Output
John Kessenich02467d82017-01-19 15:41:47 -0700189 191: TypePointer Output 6(float)
John Kesseniche516d432017-08-09 14:29:29 -0600190192(@entryPointOutput.Depth): 191(ptr) Variable Output
John Kessenich02467d82017-01-19 15:41:47 -0700191 195(g_sSamp2d): 48(ptr) Variable UniformConstant
192196(g_sSamp2D_b): 48(ptr) Variable UniformConstant
193197(g_tTex1df4a): 44(ptr) Variable UniformConstant
steve-lunarga8456412016-08-17 16:18:06 -0600194 4(main): 2 Function None 3
195 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700196185(flattenTemp): 175(ptr) Variable Function
197 186:8(PS_OUTPUT) FunctionCall 10(@main()
198 Store 185(flattenTemp) 186
199 189: 41(ptr) AccessChain 185(flattenTemp) 29
200 190: 7(fvec4) Load 189
John Kesseniche516d432017-08-09 14:29:29 -0600201 Store 188(@entryPointOutput.Color) 190
John Kessenich02467d82017-01-19 15:41:47 -0700202 193: 180(ptr) AccessChain 185(flattenTemp) 16
203 194: 6(float) Load 193
John Kesseniche516d432017-08-09 14:29:29 -0600204 Store 192(@entryPointOutput.Depth) 194
John Kessenich6a70eb72016-08-28 15:00:23 -0600205 Return
steve-lunarga8456412016-08-17 16:18:06 -0600206 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -0700207 10(@main():8(PS_OUTPUT) Function None 9
208 11: Label
209 15(mtest): 14(ptr) Variable Function
210 42(txval10): 41(ptr) Variable Function
211 57(txval11): 56(ptr) Variable Function
212 70(txval12): 69(ptr) Variable Function
213 80(txval20): 41(ptr) Variable Function
214 91(txval21): 56(ptr) Variable Function
215 102(txval22): 69(ptr) Variable Function
216 114(txval30): 41(ptr) Variable Function
217 125(txval31): 56(ptr) Variable Function
218 135(txval32): 69(ptr) Variable Function
219 148(txval40): 41(ptr) Variable Function
220 157(txval41): 56(ptr) Variable Function
221 166(txval42): 69(ptr) Variable Function
222 176(psout): 175(ptr) Variable Function
223 18: 17(ptr) AccessChain 15(mtest) 16
224 Store 18 16
225 20: 17(ptr) AccessChain 15(mtest) 19
226 Store 20 16
227 22: 17(ptr) AccessChain 15(mtest) 21
228 Store 22 16
229 24: 17(ptr) AccessChain 15(mtest) 23
230 Store 24 16
231 26: 17(ptr) AccessChain 15(mtest) 25
232 Store 26 16
233 28: 17(ptr) AccessChain 15(mtest) 27
234 Store 28 16
235 30: 17(ptr) AccessChain 15(mtest) 29
236 Store 30 16
237 32: 17(ptr) AccessChain 15(mtest) 31
238 Store 32 16
239 34: 17(ptr) AccessChain 15(mtest) 33
240 Store 34 16
241 36: 17(ptr) AccessChain 15(mtest) 35
242 Store 36 16
243 38: 17(ptr) AccessChain 15(mtest) 37
244 Store 38 16
245 40: 17(ptr) AccessChain 15(mtest) 39
246 Store 40 16
247 46: 43 Load 45(g_tTex1df4)
248 50: 47 Load 49(g_sSamp)
249 52: 51 SampledImage 46 50
250 54: 7(fvec4) ImageSampleImplicitLod 52 53
251 Store 42(txval10) 54
252 61: 58 Load 60(g_tTex1di4)
253 62: 47 Load 49(g_sSamp)
254 64: 63 SampledImage 61 62
255 66: 55(ivec4) ImageSampleImplicitLod 64 65
256 Store 57(txval11) 66
257 74: 71 Load 73(g_tTex1du4)
258 75: 47 Load 49(g_sSamp)
259 77: 76 SampledImage 74 75
260 79: 68(ivec4) ImageSampleImplicitLod 77 78
261 Store 70(txval12) 79
262 84: 81 Load 83(g_tTex2df4)
263 85: 47 Load 49(g_sSamp)
264 87: 86 SampledImage 84 85
265 90: 7(fvec4) ImageSampleImplicitLod 87 89
266 Store 80(txval20) 90
267 95: 92 Load 94(g_tTex2di4)
268 96: 47 Load 49(g_sSamp)
269 98: 97 SampledImage 95 96
270 101: 55(ivec4) ImageSampleImplicitLod 98 100
271 Store 91(txval21) 101
272 106: 103 Load 105(g_tTex2du4)
273 107: 47 Load 49(g_sSamp)
274 109: 108 SampledImage 106 107
275 113: 68(ivec4) ImageSampleImplicitLod 109 112
276 Store 102(txval22) 113
277 118: 115 Load 117(g_tTex3df4)
278 119: 47 Load 49(g_sSamp)
279 121: 120 SampledImage 118 119
280 124: 7(fvec4) ImageSampleImplicitLod 121 123
281 Store 114(txval30) 124
282 129: 126 Load 128(g_tTex3di4)
283 130: 47 Load 49(g_sSamp)
284 132: 131 SampledImage 129 130
285 134: 55(ivec4) ImageSampleImplicitLod 132 133
286 Store 125(txval31) 134
287 139: 136 Load 138(g_tTex3du4)
288 140: 47 Load 49(g_sSamp)
289 142: 141 SampledImage 139 140
290 147: 68(ivec4) ImageSampleImplicitLod 142 146
291 Store 135(txval32) 147
292 152: 149 Load 151(g_tTexcdf4)
293 153: 47 Load 49(g_sSamp)
294 155: 154 SampledImage 152 153
295 156: 7(fvec4) ImageSampleImplicitLod 155 123
296 Store 148(txval40) 156
297 161: 158 Load 160(g_tTexcdi4)
298 162: 47 Load 49(g_sSamp)
299 164: 163 SampledImage 161 162
300 165: 55(ivec4) ImageSampleImplicitLod 164 133
301 Store 157(txval41) 165
302 170: 167 Load 169(g_tTexcdu4)
303 171: 47 Load 49(g_sSamp)
304 173: 172 SampledImage 170 171
305 174: 68(ivec4) ImageSampleImplicitLod 173 146
306 Store 166(txval42) 174
307 179: 41(ptr) AccessChain 176(psout) 29
308 Store 179 178
309 181: 180(ptr) AccessChain 176(psout) 16
310 Store 181 177
311 182:8(PS_OUTPUT) Load 176(psout)
312 ReturnValue 182
313 FunctionEnd