summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-08 15:52:22 -0700
committerBrian <brian@yutani.localnet.net>2007-03-08 15:52:22 -0700
commit5761a93bba11e8a47660f465b27485e130150242 (patch)
tree5e34122f787a8e13fcf51be0990cafb467c5fea6 /src/mesa/shader/slang/slang_ir.h
parent3e0fbc7efcebdbef5698a270bd0192335a2d556b (diff)
Added IR_SLE and IR_SLT for <= and < operations.
Using IR_SGE and IR_SGT with transposed args doesn't work since the __asm calls don't do argument matching by name, but by position. This fixes the broken lessThan() and lessThanEqual() functions.
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r--src/mesa/shader/slang/slang_ir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h
index d2985eabfe..b733d100dd 100644
--- a/src/mesa/shader/slang/slang_ir.h
+++ b/src/mesa/shader/slang/slang_ir.h
@@ -84,6 +84,8 @@ typedef enum
IR_SNEQUAL, /* Set if args are not equal */
IR_SGE, /* Set if greater or equal */
IR_SGT, /* Set if greater than */
+ IR_SLE, /* Set if less or equal */
+ IR_SLT, /* Set if less than */
IR_POW, /* x^y */
IR_EXP, /* e^x */
IR_EXP2, /* 2^x */