From 5761a93bba11e8a47660f465b27485e130150242 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 8 Mar 2007 15:52:22 -0700 Subject: 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. --- src/mesa/shader/slang/slang_ir.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/shader/slang/slang_ir.h') diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h index d2985eabfe0..b733d100ddc 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 */ -- cgit v1.2.3