mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02: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
This commit is contained in:
parent
97676032c2
commit
cace82b0cd
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