Which proposal does this relate to?
https://github.com/microsoft/hlsl-specs/blob/main/proposals/0035-linalg-matrix.md#linalgconvert
Describe the issue or outstanding question.
We should add language to the Convert function section to say that the HLSL API should restrict the allowed input vector component type based on the ComponentEnum value for that input vector.
MakeInterpretedVector should also apply the same restriction:
|
InterpretedVector<T, N, DT> MakeInterpretedVector(vector<T, N> Vec) { |
For the DXIL op, corresponding validation is already described, but we need something implemented in the header to catch mistakes earlier.
We should also look for any other APIs where this restriction should apply.
Which proposal does this relate to?
https://github.com/microsoft/hlsl-specs/blob/main/proposals/0035-linalg-matrix.md#linalgconvert
Describe the issue or outstanding question.
We should add language to the
Convertfunction section to say that the HLSL API should restrict the allowed input vector component type based on theComponentEnumvalue for that input vector.MakeInterpretedVectorshould also apply the same restriction:hlsl-specs/proposals/0035-linalg-matrix.md
Line 70 in f417dc1
For the DXIL op, corresponding validation is already described, but we need something implemented in the header to catch mistakes earlier.
We should also look for any other APIs where this restriction should apply.