mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 16:10:23 +01:00
i965/vs: Put lod parameter in the correct place for Gen4
This was never visible before due to the bogus sampler state pointer.
Fixes remaining vertex texturing breakage on Gen4.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit cace82b0cd)
This commit is contained in:
parent
3bdd95270d
commit
8efee44c38
1 changed files with 1 additions and 1 deletions
|
|
@ -2427,7 +2427,7 @@ vec4_visitor::visit(ir_texture *ir)
|
|||
}
|
||||
} else /* brw->gen == 4 */ {
|
||||
mrf = param_base;
|
||||
writemask = WRITEMASK_Z;
|
||||
writemask = WRITEMASK_W;
|
||||
}
|
||||
emit(MOV(dst_reg(MRF, mrf, lod_type, writemask), lod));
|
||||
} else if (ir->op == ir_txf) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue