implement IR_I_TO_F

This commit is contained in:
Brian
2007-02-16 08:58:42 -07:00
parent ed490e4643
commit d003877c66
+6 -1
View File
@@ -1394,6 +1394,12 @@ emit(slang_var_table *vt, slang_ir_node *n, struct gl_program *prog)
case IR_SWIZZLE:
return emit_swizzle(vt, n, prog);
case IR_I_TO_F:
{
n->Store = n->Children[0]->Store;
}
return NULL;
/* Simple arithmetic */
/* unary */
case IR_RSQ:
@@ -1401,7 +1407,6 @@ emit(slang_var_table *vt, slang_ir_node *n, struct gl_program *prog)
case IR_FLOOR:
case IR_FRAC:
case IR_F_TO_I:
case IR_I_TO_F:
case IR_ABS:
case IR_SIN:
case IR_COS: