glsl: Reimplement the "cross" built-in without ir_binop_cross.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Nov 2010 21:20:30 +0000 (13:20 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Nov 2010 21:20:30 +0000 (13:20 -0800)
commit671ccf593e1079d0f3e1adf42831d09da91a2b68
tree3fe577c6e81bb6c68391edb4c4980dec8af8153a
parent302fe4049c1f409655eb283e20f9ab6397ac3db4
glsl: Reimplement the "cross" built-in without ir_binop_cross.

We are not aware of any GPU that actually implements the cross product
as a single instruction.  Hence, there's no need for it to be an opcode.
Future commits will remove it entirely.
src/glsl/builtins/ir/cross