mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 12:10:09 +01:00
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:
parent
5ff573d534
commit
cb026adc4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue