projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c1b53d
)
fix some DDX,DDY mix-ups
author
Brian
<brian@yutani.localnet.net>
Thu, 3 May 2007 00:42:57 +0000
(18:42 -0600)
committer
Brian
<brian@yutani.localnet.net>
Thu, 3 May 2007 00:42:57 +0000
(18:42 -0600)
src/mesa/shader/slang/slang_ir.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_ir.c
b/src/mesa/shader/slang/slang_ir.c
index 9517bdf29da0d7278d07ae1ced392bd9842f1697..a6903cc8b625211be165411c97e677aed0e0a45b 100644
(file)
--- a/
src/mesa/shader/slang/slang_ir.c
+++ b/
src/mesa/shader/slang/slang_ir.c
@@
-63,7
+63,7
@@
static const slang_ir_info IrInfo[] = {
{ IR_ABS, "IR_ABS", OPCODE_ABS, 4, 1 },
{ IR_NEG, "IR_NEG", OPCODE_NOP, 4, 1 }, /* special case: emit_negation() */
{ IR_DDX, "IR_DDX", OPCODE_DDX, 4, 1 },
- { IR_DD
X, "IR_DDY", OPCODE_DDX
, 4, 1 },
+ { IR_DD
Y, "IR_DDY", OPCODE_DDY
, 4, 1 },
{ IR_SIN, "IR_SIN", OPCODE_SIN, 1, 1 },
{ IR_COS, "IR_COS", OPCODE_COS, 1, 1 },
{ IR_NOISE1, "IR_NOISE1", OPCODE_NOISE1, 1, 1 },