mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
added IR_F_TO_I, update comments
This commit is contained in:
parent
0bad236cfb
commit
bb53124fca
1 changed files with 4 additions and 3 deletions
|
|
@ -61,8 +61,8 @@ typedef enum
|
||||||
IR_CROSS, /* vec3 cross product */
|
IR_CROSS, /* vec3 cross product */
|
||||||
IR_MIN,
|
IR_MIN,
|
||||||
IR_MAX,
|
IR_MAX,
|
||||||
IR_SEQUAL, /* Set if not equal */
|
IR_SEQUAL, /* Set if args are equal */
|
||||||
IR_SNEQUAL, /* Set if equal */
|
IR_SNEQUAL, /* Set if args are not equal */
|
||||||
IR_SGE, /* Set if greater or equal */
|
IR_SGE, /* Set if greater or equal */
|
||||||
IR_SGT, /* Set if greater than */
|
IR_SGT, /* Set if greater than */
|
||||||
IR_POW, /* x^y */
|
IR_POW, /* x^y */
|
||||||
|
|
@ -88,7 +88,8 @@ typedef enum
|
||||||
IR_TEXP, /* texture lookup with projection */
|
IR_TEXP, /* texture lookup with projection */
|
||||||
IR_FLOAT,
|
IR_FLOAT,
|
||||||
IR_FIELD,
|
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;
|
} slang_ir_opcode;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue