summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2017-02-21 08:27:30 +0100
committerEmil Velikov <[email protected]>2017-03-15 18:54:30 +0000
commitd4caa4249c28a4941e9f6a57ea97955f5d63797f (patch)
tree185852b0c7158b3d7a9614a44befa795a963a219 /src/mesa
parentb6b3e73c474e57b9ba60d1319ece64c7afa48032 (diff)
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 <[email protected]> Cc: "17.0" <[email protected]> Reviewed-by: Francisco Jerez <[email protected]> (cherry picked from commit 7427425247d80c9f59a3c3ad2dfeeb2429de6f67)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 13949c9d9f7..60fc4be474e 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1950,6 +1950,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) *