mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 18:50:10 +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>
(cherry picked from commit cb026adc4c)
This commit is contained in:
parent
8701d0e4da
commit
fd81fda9ef
2 changed files with 2 additions and 2 deletions
|
|
@ -6984,7 +6984,7 @@
|
|||
"description": "zink: don't use TRANSFER bit as default pipeline stage if no access is set",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -675,7 +675,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