mesa/src/glsl/builtins
Eric Anholt e9df9636b9 glsl: Add implementation of inverse() for mat2/3/4.
This is taken from the ogl-math project, with Inverse renamed to adj
(since it's not actually the inverse), transposed, and our types
plugged in.  There are potential CSE opportunities in this code
(particularly for hardware with RCP but not DIV), but we should be
doing CSE anyway, so don't hand-optimize.

Fixes piglit inverse tests.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
2012-04-24 10:15:47 -07:00
..
glsl glsl: Add implementation of inverse() for mat2/3/4. 2012-04-24 10:15:47 -07:00
ir glsl: Convert ir_call to be a statement rather than a value. 2012-04-02 14:15:41 -07:00
profiles glsl: Add implementation of inverse() for mat2/3/4. 2012-04-24 10:15:47 -07:00
tools glsl: Add support for generating builtin code from GLSL instead of IR. 2012-04-24 10:01:10 -07:00