diff options
author | Brian Paul <[email protected]> | 2009-12-14 15:27:35 -0700 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-12-16 15:06:17 +0000 |
commit | f1f49bd465b899d1c85aa07650ca5b62a50303b0 (patch) | |
tree | ebeea5bc6435b1581a818b5e1f26819c269f1718 /src | |
parent | 43d6c81ae2b3cb263f803bb9881c0823c1ed7dda (diff) |
llvmpipe: fix broken TGSI_OPCODE_FRC codegen
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c b/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c index 3eb0e0c57cb..a67c70ff25a 100644 --- 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, src0); + tmp0 = lp_build_sub(&bld->base, src0, tmp0); dst0[chan_index] = tmp0; } break; |