|
@@ -15,21 +15,18 @@ TextureCubeArray <float2> t5 : register(t5);
|
|
|
// CHECK: OpCapability MinLod
|
|
|
// CHECK: OpCapability SparseResidency
|
|
|
|
|
|
-// CHECK: [[v2f_1:%\d+]] = OpConstantComposite %v2float %float_1 %float_1
|
|
|
// CHECK: %type_sampled_image = OpTypeSampledImage %type_1d_image_array
|
|
|
+// CHECK: %type_sampled_image_0 = OpTypeSampledImage %type_2d_image_array
|
|
|
+// CHECK: %type_sampled_image_1 = OpTypeSampledImage %type_cube_image_array
|
|
|
+// CHECK: %SparseResidencyStruct = OpTypeStruct %uint %v4float
|
|
|
|
|
|
+// CHECK: [[v2f_1:%\d+]] = OpConstantComposite %v2float %float_1 %float_1
|
|
|
// CHECK: [[v3f_1:%\d+]] = OpConstantComposite %v3float %float_1 %float_1 %float_1
|
|
|
// CHECK: [[v2f_2:%\d+]] = OpConstantComposite %v2float %float_2 %float_2
|
|
|
// CHECK: [[v2f_3:%\d+]] = OpConstantComposite %v2float %float_3 %float_3
|
|
|
-// CHECK: %type_sampled_image_0 = OpTypeSampledImage %type_2d_image_array
|
|
|
-
|
|
|
// CHECK: [[v4f_1:%\d+]] = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
|
|
|
// CHECK: [[v3f_2:%\d+]] = OpConstantComposite %v3float %float_2 %float_2 %float_2
|
|
|
// CHECK: [[v3f_3:%\d+]] = OpConstantComposite %v3float %float_3 %float_3 %float_3
|
|
|
-// CHECK: %type_sampled_image_1 = OpTypeSampledImage %type_cube_image_array
|
|
|
-
|
|
|
-// CHECK: %SparseResidencyStruct = OpTypeStruct %uint %v4float
|
|
|
-
|
|
|
float4 main(int2 offset : A) : SV_Target {
|
|
|
// CHECK: [[t1:%\d+]] = OpLoad %type_1d_image_array %t1
|
|
|
// CHECK-NEXT: [[gSampler:%\d+]] = OpLoad %type_sampler %gSampler
|