projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d6c81
)
llvmpipe: fix broken TGSI_OPCODE_FRC codegen
author
Brian Paul
<brianp@vmware.com>
Mon, 14 Dec 2009 22:27:35 +0000
(15:27 -0700)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 16 Dec 2009 15:06:17 +0000
(15:06 +0000)
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
b/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
index 3eb0e0c57cb5d5b272521cfcf244c062991e38bf..a67c70ff25a277a394476e9d916e2443aa1b7692 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
@@
-763,7
+763,7
@@
emit_instruction(
FOR_EACH_DST0_ENABLED_CHANNEL( inst, chan_index ) {
src0 = emit_fetch( bld, inst, 0, chan_index );
tmp0 = lp_build_floor(&bld->base, src0);
- tmp0 = lp_build_sub(&bld->base,
tmp0, src
0);
+ tmp0 = lp_build_sub(&bld->base,
src0, tmp
0);
dst0[chan_index] = tmp0;
}
break;