mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-16 19:48:20 +02:00
tu: Fix vk2tu_*_stage flag type
New flags were silently getting dropped. Fixes:59259a0167("tu: Convert to sync2 entrypoints") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24162> (cherry picked from commited02094235)
This commit is contained in:
parent
1dc1a1b551
commit
b84dc33bc8
2 changed files with 5 additions and 5 deletions
|
|
@ -22,7 +22,7 @@
|
|||
"description": "tu: Fix vk2tu_*_stage flag type",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "59259a0167184e0cf9f472d379ac9723a2842139"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3922,10 +3922,10 @@ vk2tu_single_stage(VkPipelineStageFlags2 vk_stage, bool dst)
|
|||
}
|
||||
|
||||
static enum tu_stage
|
||||
vk2tu_src_stage(VkPipelineStageFlags vk_stages)
|
||||
vk2tu_src_stage(VkPipelineStageFlags2 vk_stages)
|
||||
{
|
||||
enum tu_stage stage = TU_STAGE_CP;
|
||||
u_foreach_bit (bit, vk_stages) {
|
||||
u_foreach_bit64 (bit, vk_stages) {
|
||||
enum tu_stage new_stage = vk2tu_single_stage(1ull << bit, false);
|
||||
stage = MAX2(stage, new_stage);
|
||||
}
|
||||
|
|
@ -3934,10 +3934,10 @@ vk2tu_src_stage(VkPipelineStageFlags vk_stages)
|
|||
}
|
||||
|
||||
static enum tu_stage
|
||||
vk2tu_dst_stage(VkPipelineStageFlags vk_stages)
|
||||
vk2tu_dst_stage(VkPipelineStageFlags2 vk_stages)
|
||||
{
|
||||
enum tu_stage stage = TU_STAGE_PS;
|
||||
u_foreach_bit (bit, vk_stages) {
|
||||
u_foreach_bit64 (bit, vk_stages) {
|
||||
enum tu_stage new_stage = vk2tu_single_stage(1ull << bit, true);
|
||||
stage = MIN2(stage, new_stage);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue