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