mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
anv: handle image feedback loop usage
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23523>
This commit is contained in:
parent
bd285a6ad5
commit
dda8c2b8be
1 changed files with 3 additions and 1 deletions
|
|
@ -2771,7 +2771,9 @@ anv_layout_to_aux_state(const struct intel_device_info * const devinfo,
|
|||
bool aux_supported = true;
|
||||
bool clear_supported = isl_aux_usage_has_fast_clears(aux_usage);
|
||||
|
||||
if ((usage & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT) && !read_only) {
|
||||
if ((usage & (VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT |
|
||||
VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT)) &&
|
||||
!read_only) {
|
||||
/* This image could be used as both an input attachment and a render
|
||||
* target (depth, stencil, or color) at the same time and this can cause
|
||||
* corruption.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue