Closed ArielG-NV closed 1 month ago
Requirements:
_mXY
and _XY
swizzles - doneMatrixTypeCast
op which is implemented accordingly - not done[1] - we hack around mul
currently (not all multiplies are intrinsic_op's, need to make them intrinsic_op's). Require to add the following:
note: old method to solve the problem is being phased out for a new method which fixes and unifies the solution with GLSL/HLSL/SPIRV
lowerBufferElementTypeToStorageType()
is where we should legalize matrix-load and matrix-store// optional...
Related to: #4291
tests/compute/column-major.slang
test produces incorrect results. The results seem to hint that the matrix used is not swapping its major'ness.The emitting-code seems to reflect this,
getTargetProgram()->getOptionSet().getMatrixLayoutMode()
is not taken-into-account when emitting metal code.