projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d6b50
)
fix typos
author
Brian
<brian@yutani.localnet.net>
Thu, 21 Dec 2006 17:49:27 +0000
(10:49 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 21 Dec 2006 17:49:27 +0000
(10:49 -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 cc522131cefc1c0ae7f943ef6830c2ae0e7060a0..2b631a3b72271ee403df93a75241de2de33938fc 100644
(file)
--- a/
src/mesa/shader/slang/slang_emit.c
+++ b/
src/mesa/shader/slang/slang_emit.c
@@
-963,7
+963,7
@@
emit_negation(slang_gen_context *gc, slang_ir_node *n, struct gl_program *prog)
inst->Comment = n->Comment;
return inst;
-#e
ndif
+#e
lse
/* XXX this is something we can optimize for, with a bit of work.*/
abort();
return NULL;
@@
-1120,7
+1120,7
@@
emit(slang_gen_context *gc, slang_ir_node *n, struct gl_program *prog)
case IR_COS:
return emit_unop(gc, n, prog);
case IR_NEG:
- return emit_negation(gc, n, prog)
:
+ return emit_negation(gc, n, prog)
;
case IR_LABEL:
return emit_label(n->Target, prog);
case IR_FLOAT: