gpuweb icon indicating copy to clipboard operation
gpuweb copied to clipboard

consider adding matrix determinant

Open dneto0 opened this issue 4 years ago • 2 comments

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.

dneto0 avatar Apr 09 '21 19:04 dneto0

WGSL meeting minutes 2021-04-13
  • (yes, add it)

kdashg avatar Apr 14 '21 19:04 kdashg

https://gpuweb.github.io/gpuweb/wgsl/#matrix-builtin-functions already lists it. Suggest we close this issue.

alan-baker avatar Apr 15 '21 16:04 alan-baker

It's been added.

dneto0 avatar Feb 27 '23 16:02 dneto0