diff options
author | Eric Anholt <[email protected]> | 2010-07-13 15:37:57 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-18 18:12:12 -0700 |
commit | 9be7f638130f46a9df2bfbcd4a03b36de9e4f3aa (patch) | |
tree | 5db2a2e0c0198c2960bfcb3051ffbeeda8757573 /src/glsl/ir.h | |
parent | 87a2ee8db6222006480bd0e0ac58b77795c5d951 (diff) |
glsl2: Make cross() be an expression operation.
ARB_fp, ARB_vp, Mesa IR, and the 965 vertex shader all have
instructions for cross. Shaves 12 Mesa instructions off of a
66-instruction shader I have.
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 790173ed6be..9d7af2dcabc 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -609,6 +609,7 @@ enum ir_expression_operation { ir_binop_logic_or, ir_binop_dot, + ir_binop_cross, ir_binop_min, ir_binop_max, |