|
@@ -9,18 +9,16 @@ TextureCubeArray<int4> tCubeArray : register(t3);
|
|
|
|
|
|
// CHECK: OpCapability SparseResidency
|
|
// CHECK: OpCapability SparseResidency
|
|
|
|
|
|
|
|
+// CHECK: %SparseResidencyStruct = OpTypeStruct %uint %v4uint
|
|
|
|
+// CHECK: %SparseResidencyStruct_0 = OpTypeStruct %uint %v4int
|
|
|
|
+
|
|
// CHECK: [[c12:%\d+]] = OpConstantComposite %v2int %int_1 %int_2
|
|
// CHECK: [[c12:%\d+]] = OpConstantComposite %v2int %int_1 %int_2
|
|
// CHECK: [[c34:%\d+]] = OpConstantComposite %v2int %int_3 %int_4
|
|
// CHECK: [[c34:%\d+]] = OpConstantComposite %v2int %int_3 %int_4
|
|
// CHECK: [[c56:%\d+]] = OpConstantComposite %v2int %int_5 %int_6
|
|
// CHECK: [[c56:%\d+]] = OpConstantComposite %v2int %int_5 %int_6
|
|
// CHECK: [[c78:%\d+]] = OpConstantComposite %v2int %int_7 %int_8
|
|
// CHECK: [[c78:%\d+]] = OpConstantComposite %v2int %int_7 %int_8
|
|
// CHECK: [[c1to8:%\d+]] = OpConstantComposite %_arr_v2int_uint_4 [[c12]] [[c34]] [[c56]] [[c78]]
|
|
// CHECK: [[c1to8:%\d+]] = OpConstantComposite %_arr_v2int_uint_4 [[c12]] [[c34]] [[c56]] [[c78]]
|
|
-
|
|
|
|
-// CHECK: %SparseResidencyStruct = OpTypeStruct %uint %v4uint
|
|
|
|
-
|
|
|
|
// CHECK: [[cv4f_1_5:%\d+]] = OpConstantComposite %v4float %float_1_5 %float_1_5 %float_1_5 %float_1_5
|
|
// CHECK: [[cv4f_1_5:%\d+]] = OpConstantComposite %v4float %float_1_5 %float_1_5 %float_1_5 %float_1_5
|
|
|
|
|
|
-// CHECK: %SparseResidencyStruct_0 = OpTypeStruct %uint %v4int
|
|
|
|
-
|
|
|
|
float4 main(float3 location: A, float comparator: B) : SV_Target {
|
|
float4 main(float3 location: A, float comparator: B) : SV_Target {
|
|
// CHECK: [[t2f4:%\d+]] = OpLoad %type_2d_image_array %t2f4
|
|
// CHECK: [[t2f4:%\d+]] = OpLoad %type_2d_image_array %t2f4
|
|
// CHECK-NEXT: [[gSampler:%\d+]] = OpLoad %type_sampler %gSampler
|
|
// CHECK-NEXT: [[gSampler:%\d+]] = OpLoad %type_sampler %gSampler
|