summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-31 08:55:10 -0700
committerBrian <[email protected]>2007-01-31 08:55:10 -0700
commit309d5b665051179b7e135d7329da1ea45bfeb8e5 (patch)
tree49af2dba55623498a1eb895ed8794545f76ffdea /src/mesa/shader/slang/slang_ir.h
parent9d5853813f90cf03581d5150b4f2d46fd847211b (diff)
New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with instruction saturate-write option. Not finished yet.
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r--src/mesa/shader/slang/slang_ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h
index 39b4ab65b59..4b696c5c137 100644
--- a/src/mesa/shader/slang/slang_ir.h
+++ b/src/mesa/shader/slang/slang_ir.h
@@ -64,6 +64,7 @@ typedef enum
IR_DOT3,
IR_CROSS, /* vec3 cross product */
IR_LRP,
+ IR_CLAMP,
IR_MIN,
IR_MAX,
IR_SEQUAL, /* Set if args are equal */