diff options
author | Francisco Jerez <[email protected]> | 2015-08-26 21:59:46 +0300 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-09-28 18:10:39 +0300 |
commit | b61292296bd7e1876fdb64725a783a7e96f6c4c1 (patch) | |
tree | 3fd2fc0123e40a178226ef81d0c6f2f8cf90aef8 /src/gallium/state_trackers/hgl/SConscript | |
parent | 2518645f63e2f66d3638180f44a007541928319c (diff) |
i965/fs: Fix hang on IVB and VLV with image format mismatch.
IVB and VLV hang sporadically when an untyped surface read or write
message is used to access a surface of format other than RAW, as may
happen when there is a mismatch between the format qualifier of the
image uniform and the format of the actual image bound to the
pipeline. According to the spec this condition gives undefined
results but may not lead to program termination (which is one of the
possible outcomes of the hang). Fix it by checking at runtime whether
the surface is of the right type.
Fixes the "arb_shader_image_load_store.invalid/format mismatch" piglit
subtest.
Reported-by: Mark Janes <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91718
CC: [email protected]
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/hgl/SConscript')
0 files changed, 0 insertions, 0 deletions