projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe7aed
)
Populate arb_fp_instruction negate field correctly.
author
Keith Whitwell
<keith@tungstengraphics.com>
Fri, 7 Oct 2005 09:55:26 +0000
(09:55 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Fri, 7 Oct 2005 09:55:26 +0000
(09:55 +0000)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index 6f9fe2dc454afa0c3296177b6c7c74e34e41b239..7b74e3ad1b4a9fb152766bb1b6e35c98467d1bd8 100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-452,7
+452,7
@@
static void emit_arg( struct fp_src_register *reg,
reg->File = ureg.file;
reg->Index = ureg.idx;
reg->Swizzle = ureg.swz;
- reg->NegateBase = ureg.negatebase;
+ reg->NegateBase = ureg.negatebase
? 0xf : 0x0
;
reg->Abs = ureg.abs;
reg->NegateAbs = ureg.negateabs;
}