mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
i965/fs: Reset reg_offset of the original destination to zero in compute_to_mrf().
Prevents an assertion failure in the following commit. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
b9eab911ba
commit
51dd6a60f5
1 changed files with 1 additions and 0 deletions
|
|
@ -2866,6 +2866,7 @@ fs_visitor::compute_to_mrf()
|
|||
/* Found the creator of our MRF's source value. */
|
||||
scan_inst->dst.file = MRF;
|
||||
scan_inst->dst.nr = inst->dst.nr;
|
||||
scan_inst->dst.reg_offset = 0;
|
||||
scan_inst->saturate |= inst->saturate;
|
||||
inst->remove(block);
|
||||
progress = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue