mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i965/fs: mark last DF uniform array element as 64 bit live one
This bug can make that we don't detect the end of a contiguous area
correctly and push larger areas than the real ones.
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
(cherry picked from commit 7427425247)
This commit is contained in:
parent
9919331f4d
commit
7466ffa468
1 changed files with 3 additions and 0 deletions
|
|
@ -1963,6 +1963,9 @@ fs_visitor::assign_constant_locations()
|
|||
}
|
||||
}
|
||||
is_live[last] = true;
|
||||
if (type_sz(inst->src[i].type) == 8) {
|
||||
is_live_64bit[last] = true;
|
||||
}
|
||||
} else {
|
||||
if (constant_nr >= 0 && constant_nr < (int) uniforms) {
|
||||
int regs_read = inst->components_read(i) *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue