projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed490e4
)
implement IR_I_TO_F
author
Brian
<brian@nostromo.localnet.net>
Fri, 16 Feb 2007 15:58:42 +0000
(08:58 -0700)
committer
Brian
<brian@nostromo.localnet.net>
Fri, 16 Feb 2007 15:58:42 +0000
(08:58 -0700)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index b15d7372a7d45fd54e877676fa5929449ddff358..955f428b95b43dd905e569e65f5a2d651f2c5eb0 100644
(file)
--- a/
src/mesa/shader/slang/slang_emit.c
+++ b/
src/mesa/shader/slang/slang_emit.c
@@
-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: