mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18: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
7fbf06e503
commit
c0eb1c601e
2 changed files with 5 additions and 5 deletions
|
|
@ -14914,7 +14914,7 @@
|
|||
"description": "tu: Fix vk2tu_*_stage flag type",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "59259a0167184e0cf9f472d379ac9723a2842139",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -3244,10 +3244,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);
|
||||
}
|
||||
|
|
@ -3256,10 +3256,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