gpuweb
gpuweb copied to clipboard
consider adding matrix determinant
The determinant function acts on any square matrix.
There is common support for square matrices over f32 components:
- SPIR-V: Use extended instruction GLSL.std.450 Determinant
- MSL has determinant standard library function
- HLSL has determinant builtin function.
- DXIL does not have direct support. I expect a simple polyfill is sufficient.
WGSL meeting minutes 2021-04-13
- (yes, add it)
https://gpuweb.github.io/gpuweb/wgsl/#matrix-builtin-functions already lists it. Suggest we close this issue.
It's been added.