mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
zink: fix another case of blocking image op reordering with GENERAL layouts
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35896>
This commit is contained in:
parent
446d8d23c2
commit
30e79aafa0
1 changed files with 1 additions and 2 deletions
|
|
@ -152,8 +152,7 @@ static ALWAYS_INLINE bool
|
|||
check_unordered_exec(struct zink_context *ctx, struct zink_resource *res, bool is_write)
|
||||
{
|
||||
if (res) {
|
||||
if (!res->obj->is_buffer) {
|
||||
/* TODO: figure out how to link up unordered layout -> ordered layout and delete this conditionals */
|
||||
if (!res->obj->is_buffer && !zink_screen(ctx->base.screen)->info.have_KHR_unified_image_layouts) {
|
||||
if (zink_resource_usage_is_unflushed(res) && !res->obj->unordered_read && !res->obj->unordered_write)
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue