diff options
author | Iago Toral Quiroga <[email protected]> | 2017-01-16 11:51:50 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2017-01-17 07:57:04 +0100 |
commit | 9fe9db8031f4979fde0849855c6aca1a83432f4e (patch) | |
tree | a120f5f934b6620090737f3737bd9c5e161b0b1a /include | |
parent | ff0dd67d2f9fc7cc240da732153ac4fac4e8d04d (diff) |
anv: set UAV coherence required bit when needed
The same we do in the OpenGL driver (comment copied from there).
This is required to ensure that we execute the fragment shader stage when
side-effects (such as image or ssbo stores) are present but there are no
color writes.
I found this while writing a test to check rendering to a framebuffer
without attachments where the fragment shader does not produce any
color outputs but writes to an image via imageStore(). Without this patch
the fragment shader does not execute and the image is not written,
which is not correct.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions