mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
llvmpipe: fix broken TGSI_OPCODE_FRC codegen
This commit is contained in:
parent
43d6c81ae2
commit
f1f49bd465
1 changed files with 1 additions and 1 deletions
|
|
@ -763,7 +763,7 @@ emit_instruction(
|
||||||
FOR_EACH_DST0_ENABLED_CHANNEL( inst, chan_index ) {
|
FOR_EACH_DST0_ENABLED_CHANNEL( inst, chan_index ) {
|
||||||
src0 = emit_fetch( bld, inst, 0, chan_index );
|
src0 = emit_fetch( bld, inst, 0, chan_index );
|
||||||
tmp0 = lp_build_floor(&bld->base, src0);
|
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;
|
dst0[chan_index] = tmp0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue