diff options
author | Brian <brian@yutani.localnet.net> | 2007-01-17 15:58:24 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-01-17 15:58:24 -0700 |
commit | bb53124fca80faf0f920d720cf01bba182e0988d (patch) | |
tree | d479ebf91633256e4a1cf3e20e081a83c35e7916 /src/mesa/shader | |
parent | 0bad236cfbaabfc0ed4f20088e64fa89f81934ce (diff) | |
download | external_mesa3d-bb53124fca80faf0f920d720cf01bba182e0988d.zip external_mesa3d-bb53124fca80faf0f920d720cf01bba182e0988d.tar.gz external_mesa3d-bb53124fca80faf0f920d720cf01bba182e0988d.tar.bz2 |
added IR_F_TO_I, update comments
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_ir.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h index 2589d68..7fe3f7f 100644 --- a/src/mesa/shader/slang/slang_ir.h +++ b/src/mesa/shader/slang/slang_ir.h @@ -61,8 +61,8 @@ typedef enum IR_CROSS, /* vec3 cross product */ IR_MIN, IR_MAX, - IR_SEQUAL, /* Set if not equal */ - IR_SNEQUAL, /* Set if equal */ + IR_SEQUAL, /* Set if args are equal */ + IR_SNEQUAL, /* Set if args are not equal */ IR_SGE, /* Set if greater or equal */ IR_SGT, /* Set if greater than */ IR_POW, /* x^y */ @@ -88,7 +88,8 @@ typedef enum IR_TEXP, /* texture lookup with projection */ IR_FLOAT, IR_FIELD, - IR_I_TO_F + IR_I_TO_F, /* int[4] to float[4] conversion */ + IR_F_TO_I /* float[4] to int[4] conversion */ } slang_ir_opcode; |