summaryrefslogtreecommitdiffstats
path: root/source/slang
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-02-18 23:49:31 -0800
committerGitHub <noreply@github.com>2025-02-18 23:49:31 -0800
commitad69ebd873a0fc79d1781863f1049daffa2cc318 (patch)
tree348c96175274185e241a591296415ced39873c33 /source/slang
parent64dfdbda7185cdc54523e038d2f52a6530bacd1e (diff)
Add two DXC implementation for CoopVec (#6393)
Diffstat (limited to 'source/slang')
-rw-r--r--source/slang/hlsl.meta.slang4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang
index 81b28b30a..173b97fd3 100644
--- a/source/slang/hlsl.meta.slang
+++ b/source/slang/hlsl.meta.slang
@@ -23667,6 +23667,8 @@ void coopVecOuterProductAccumulate<T : __BuiltinArithmeticType, let M : int, let
{
__target_switch
{
+ case hlsl:
+ __intrinsic_asm "$0.OuterProductAccumulate($1, $2, $3, $4, $5, $6)";
case spirv:
let matrixInterpretationSpirv : int = __getSpvCoopVecComponentType(matrixInterpretation);
let memoryLayoutSpirv : int = __getSpvCoopVecMatrixLayout(memoryLayout);
@@ -23742,6 +23744,8 @@ void coopVecReduceSumAccumulate<T : __BuiltinArithmeticType, let N : int>(
{
__target_switch
{
+ case hlsl:
+ __intrinsic_asm "$0.ReduceSumAccumulate($1, $2)";
case spirv:
let bufferPtr = buffer.GetBufferPointer();
spirv_asm