oa::matrix::cast_f32_i32
Convert an FP32 matrix to I32, truncating each element toward zero. The result is intentionally detached because a discrete cast has no admitted adjoint. Errors Returns an error when input is not FP32, its element count exceeds the shader ABI, allocation fails, or runtime recording fails.
Function Documentation
Convert an FP32 matrix to I32, truncating each element toward zero. The result is intentionally detached because a discrete cast has no admitted adjoint. Errors Returns an error when input is not FP32, its element count exceeds the shader ABI, allocation fails, or runtime recording fails.