From 439e025c1d3c58cc261c36f1e8d804a403b2856a Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Tue, 15 Jul 2025 17:48:30 -0700 Subject: Document why failing VVL coop-vec tests cannot be enabled & minor cleanup/bug-fix (#7754) * Changes Fix a coop-vec bug, fix incorrect test synax, clean up test, comment why some coop-vec tests are stil disabled * Changes Fix a coop-vec bug, fix incorrect test synax, clean up test, comment why some coop-vec tests are stil disabled * disable failing tests * push changes * add to failing GLSL test list --- source/slang/hlsl.meta.slang | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang index 1443843a9..216dfc04a 100644 --- a/source/slang/hlsl.meta.slang +++ b/source/slang/hlsl.meta.slang @@ -26742,7 +26742,6 @@ CoopVec coopVecMatMulAddPacked()) { operands |= 0x02; // MatrixBSignedComponentsKHR - operands |= 0x04; // MatrixCSignedComponentsKHR } if (__isSignedInt()) { @@ -27193,7 +27192,6 @@ CoopVec coopVecMatMulAddPacked()) { operands |= 0x02; // MatrixBSignedComponentsKHR - operands |= 0x04; // MatrixCSignedComponentsKHR } if (__isSignedInt()) { @@ -27370,6 +27368,10 @@ CoopVec coopVecMatMulPacked( int operands = 0; // NoneKHR let zero = 0; let cvtMatPtr = (Ptr)matrixPtr; + if (__isSignedInt()) + { + operands |= 0x02; // MatrixBSignedComponentsKHR + } if (__isSignedInt()) { operands |= 0x08; // MatrixResultSignedComponentsKHR @@ -27439,9 +27441,18 @@ CoopVec coopVecMatMulAddPacked)matrixPtr; let cvtBiasPtr = (Ptr)biasPtr; + int operands = 0; // NoneKHR + if (__isSignedInt()) + { + operands |= 0x02; // MatrixBSignedComponentsKHR + } + if (__isSignedInt()) + { + operands |= 0x08; // MatrixResultSignedComponentsKHR + } return spirv_asm { - result:$$CoopVec = OpCooperativeVectorMatrixMulAddNV $input $inputInterpretationSpirv $cvtMatPtr $zero $matrixInterpretationSpirv $cvtBiasPtr $zero $biasInterpretationSpirv $m $k $memoryLayoutSpirv $transpose $matrixStride; + result:$$CoopVec = OpCooperativeVectorMatrixMulAddNV $input $inputInterpretationSpirv $cvtMatPtr $zero $matrixInterpretationSpirv $cvtBiasPtr $zero $biasInterpretationSpirv $m $k $memoryLayoutSpirv $transpose $matrixStride !operands; }; } } -- cgit v1.2.3