diff options
author | Brian Paul <[email protected]> | 2009-12-14 15:27:35 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-14 15:27:35 -0700 |
commit | 55879440d703bf9f5a4040d04a2f2cd024fa07c2 (patch) | |
tree | 77dbb3c6fe8c627c93aa3f8647ed2befe6a7049e /src | |
parent | 6e2a93739e2bbd857c62e1c3959a9032d591717a (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 adc81569ed5..83ac25bb200 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c @@ -777,7 +777,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; |