Переглянути джерело

Fix value name collision in ValidationTest::MeshMultipleGetMeshPayload

Tex Riddell 6 роки тому
батько
коміт
bc1f4321a6
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tools/clang/unittests/HLSL/ValidationTest.cpp

+ 1 - 1
tools/clang/unittests/HLSL/ValidationTest.cpp

@@ -3568,7 +3568,7 @@ TEST_F(ValidationTest, MeshMultipleGetMeshPayload) {
   RewriteAssemblyCheckMsg(L"..\\CodeGenHLSL\\mesh-val\\mesh.hlsl", "ms_6_5",
                           "%([0-9]+) = call %struct.MeshPayload\\* @dx.op.getMeshPayload.struct.MeshPayload\\(i32 170\\)  ; GetMeshPayload\\(\\)",
                           "%\\1 = call %struct.MeshPayload* @dx.op.getMeshPayload.struct.MeshPayload(i32 170)  ; GetMeshPayload()\n"
-                          "  %.\\1 = call %struct.MeshPayload* @dx.op.getMeshPayload.struct.MeshPayload(i32 170)  ; GetMeshPayload()",
+                          "  %.extra.unused.payload. = call %struct.MeshPayload* @dx.op.getMeshPayload.struct.MeshPayload(i32 170)  ; GetMeshPayload()",
                           "GetMeshPayload cannot be called multiple times.",
                           true);
 }