Skip to content

Commit ad69ebd

Browse files
authored
Add two DXC implementation for CoopVec (#6393)
1 parent 64dfdbd commit ad69ebd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/slang/hlsl.meta.slang

+4
Original file line numberDiff line numberDiff line change
@@ -23667,6 +23667,8 @@ void coopVecOuterProductAccumulate<T : __BuiltinArithmeticType, let M : int, let
2366723667
{
2366823668
__target_switch
2366923669
{
23670+
case hlsl:
23671+
__intrinsic_asm "$0.OuterProductAccumulate($1, $2, $3, $4, $5, $6)";
2367023672
case spirv:
2367123673
let matrixInterpretationSpirv : int = __getSpvCoopVecComponentType(matrixInterpretation);
2367223674
let memoryLayoutSpirv : int = __getSpvCoopVecMatrixLayout(memoryLayout);
@@ -23742,6 +23744,8 @@ void coopVecReduceSumAccumulate<T : __BuiltinArithmeticType, let N : int>(
2374223744
{
2374323745
__target_switch
2374423746
{
23747+
case hlsl:
23748+
__intrinsic_asm "$0.ReduceSumAccumulate($1, $2)";
2374523749
case spirv:
2374623750
let bufferPtr = buffer.GetBufferPointer();
2374723751
spirv_asm

0 commit comments

Comments
 (0)