diff options
author | Jason Ekstrand <[email protected]> | 2016-04-14 18:36:05 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-15 22:47:33 -0700 |
commit | f30f6e26252ed09eca1922f7c8633c7c7b6e50fe (patch) | |
tree | 7b5ab8dd29ecd1e803a31bc64e655ea762507270 /.gitattributes | |
parent | 93db828e426b663cb7b1a01f87368a27d2b9377e (diff) |
i965/fs: Don't allow OOB array access of images
We have had a guard against OOB array access of images on IVB for a long
time, but it can actually cause hangs on any GPU generation. This can
happen due to getting an untyped SURFACE_STATE for a typed message. We
didn't used to hit this with the piglit test on anything other than IVB
because the OOB in the test would cause us to go past the top of the pull
constant UBO and we would get a surface index of 0 which is was always a
valid surface. Now that we're pushing small arrays, we can end up grabbing
garbage from the GRF and going to some random index which causes a hang.
The solution is to just do the bounds check on all hardware.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94944
Reviewed-by: Francisco Jerez <[email protected]>
Tested-by: Mark Janes <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions