瀏覽代碼

[spirv] Update test instruction order.

Ehsan Nasiri 6 年之前
父節點
當前提交
c8da3277a5
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      tools/clang/test/CodeGenSPIRV/texture.array.gather-cmp.hlsl

+ 2 - 3
tools/clang/test/CodeGenSPIRV/texture.array.gather-cmp.hlsl

@@ -8,11 +8,10 @@ Texture2DArray<float>  t3 : register(t3);
 TextureCubeArray<float>t4 : register(t4);
 // .GatherCmp() does not support Texture1DArray.
 
-// CHECK: [[v2ic:%\d+]] = OpConstantComposite %v2int %int_1 %int_2
-// CHECK: [[v3fc:%\d+]] = OpConstantComposite %v3float %float_1 %float_2 %float_3
-
 // CHECK: %SparseResidencyStruct = OpTypeStruct %uint %v4float
 
+// CHECK: [[v2ic:%\d+]] = OpConstantComposite %v2int %int_1 %int_2
+// CHECK: [[v3fc:%\d+]] = OpConstantComposite %v3float %float_1 %float_2 %float_3
 // CHECK: [[v4fc:%\d+]] = OpConstantComposite %v4float %float_1_5 %float_1_5 %float_1_5 %float_1_5
 
 float4 main(float3 location: A, float comparator: B, int2 offset: C) : SV_Target {