zink: don't use TRANSFER bit as default pipeline stage if no access is set

should be TOP_OF_PIPE

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35476>
This commit is contained in:
Mike Blumenkrantz 2025-06-18 22:26:03 -04:00 committed by Marge Bot
parent 5ff573d534
commit cb026adc4c

View file

@ -563,7 +563,7 @@ pipeline_access_stage(VkAccessFlags flags)
VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT |
VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT |
VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT;
return VK_PIPELINE_STAGE_TRANSFER_BIT;
return flags ? VK_PIPELINE_STAGE_TRANSFER_BIT : VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT;
}
ALWAYS_INLINE static bool