mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +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>
This commit is contained in:
parent
e66be3d3bb
commit
7427425247
1 changed files with 3 additions and 0 deletions
|
|
@ -1952,6 +1952,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