Description
From
|
typename hlsl::enable_if<hlsl::is_arithmetic<InputElTy>::value, vector<OutputElTy, K> >::type |
typename hlsl::enable_if<hlsl::is_arithmetic::value, vector<OutputElTy, K> >::type
// clang-format on
Multiply(Matrix<MatrixDT, M, K, MatrixUse::A, MatrixScope::Thread> MatrixA,
vector<InputElTy, K> Vec) {
vector<OutputElTy, M> Result;
__builtin_LinAlg_MatrixVectorMultiply(Result, MatrixA.__handle,
hlsl::is_signed::value, Vec,
MatrixDT);
return Result;
}
the output vector length is M or K?
Steps to Reproduce
Actual Behavior
Environment
- DXC version
- Host Operating System <!--- Host operating system and version --->
Description
From
DirectXShaderCompiler/tools/clang/lib/Headers/hlsl/dx/linalg.h
Line 468 in 8cb7673
typename hlsl::enable_if<hlsl::is_arithmetic::value, vector<OutputElTy, K> >::type
// clang-format on
Multiply(Matrix<MatrixDT, M, K, MatrixUse::A, MatrixScope::Thread> MatrixA,
vector<InputElTy, K> Vec) {
vector<OutputElTy, M> Result;
__builtin_LinAlg_MatrixVectorMultiply(Result, MatrixA.__handle,
hlsl::is_signed::value, Vec,
MatrixDT);
return Result;
}
the output vector length is M or K?
Steps to Reproduce
Actual Behavior
Environment