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