mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
i965/fs: Set correct number of regs_written for MCS fetches.
regs_written is in units of virtual GRFs. Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
e3cc0d90e1
commit
dfd117b857
1 changed files with 3 additions and 3 deletions
|
|
@ -1591,9 +1591,9 @@ fs_visitor::emit_mcs_fetch(ir_texture *ir, fs_reg coordinate, int sampler)
|
|||
inst->base_mrf = -1;
|
||||
inst->mlen = next.reg_offset * reg_width;
|
||||
inst->header_present = false;
|
||||
inst->regs_written = 4 * reg_width; /* we only care about one reg of response,
|
||||
* but the sampler always writes 4/8
|
||||
*/
|
||||
inst->regs_written = 4; /* we only care about one reg of response,
|
||||
* but the sampler always writes 4/8
|
||||
*/
|
||||
inst->sampler = sampler;
|
||||
|
||||
return dest;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue