@@ -17,15 +17,15 @@ float4 main(int3 location3: A, int4 location4: B) : SV_Target {
1717// CHECK-NEXT: [[coord_0:%[0-9]+]] = OpVectorShuffle %v2int [[loc]] [[loc]] 0 1
1818// CHECK-NEXT: [[lod_0:%[0-9]+]] = OpCompositeExtract %int [[loc]] 2
1919// CHECK-NEXT: [[tex:%[0-9]+]] = OpLoad [[type_2d_sampled_image]] %tex2d
20- // CHECK-NEXT: [[tex_img:%[0-9]+]] = OpImage % type_2d_image [[tex]]
20+ // CHECK-NEXT: [[tex_img:%[0-9]+]] = OpImage [[ type_2d_image]] [[tex]]
2121// CHECK-NEXT: {{%[0-9]+}} = OpImageFetch %v4float [[tex_img]] [[coord_0]] Lod [[lod_0]]
2222 float4 val1 = tex2d.Load (location3);
2323
2424// CHECK: [[loc:%[0-9]+]] = OpLoad %v3int %location3
2525// CHECK-NEXT: [[coord_0:%[0-9]+]] = OpVectorShuffle %v2int [[loc]] [[loc]] 0 1
2626// CHECK-NEXT: [[lod_0:%[0-9]+]] = OpCompositeExtract %int [[loc]] 2
2727// CHECK-NEXT: [[tex:%[0-9]+]] = OpLoad [[type_2d_sampled_image]] %tex2d
28- // CHECK-NEXT: [[tex_img:%[0-9]+]] = OpImage % type_2d_image [[tex]]
28+ // CHECK-NEXT: [[tex_img:%[0-9]+]] = OpImage [[ type_2d_image]] [[tex]]
2929// CHECK-NEXT: {{%[0-9]+}} = OpImageFetch %v4float [[tex_img]] [[coord_0]] Lod|ConstOffset [[lod_0]] [[v2ic]]
3030 float4 val2 = tex2d.Load (location3, int2 (1 , 2 ));
3131
@@ -37,7 +37,7 @@ float4 main(int3 location3: A, int4 location4: B) : SV_Target {
3737// CHECK-NEXT: [[coord_0:%[0-9]+]] = OpVectorShuffle %v2int [[loc]] [[loc]] 0 1
3838// CHECK-NEXT: [[lod_0:%[0-9]+]] = OpCompositeExtract %int [[loc]] 2
3939// CHECK-NEXT: [[tex:%[0-9]+]] = OpLoad [[type_2d_sampled_image]] %tex2d
40- // CHECK-NEXT: [[tex_img:%[0-9]+]] = OpImage % type_2d_image [[tex]]
40+ // CHECK-NEXT: [[tex_img:%[0-9]+]] = OpImage [[ type_2d_image]] [[tex]]
4141// CHECK-NEXT:[[structResult:%[0-9]+]] = OpImageSparseFetch %SparseResidencyStruct [[tex_img]] [[coord_0]] Lod|ConstOffset [[lod_0]] [[v2ic]]
4242// CHECK-NEXT: [[status:%[0-9]+]] = OpCompositeExtract %uint [[structResult]] 0
4343// CHECK-NEXT: OpStore %status [[status]]
0 commit comments