summaryrefslogtreecommitdiff
path: root/src/vulkan
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2024-06-16 16:32:01 -0400
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2024-06-17 16:28:14 -0400
commit15257b65c6d8e1b8885d7ac3c7a428f5c86a6f04 (patch)
tree9952533aab8bbe89cfc644c1856c20360c02862d /src/vulkan
parent90b6dba772db4089c491471303333ecc37e31ef4 (diff)
treewide: use nir_metadata_control_flow
Via Coccinelle patch: @@ @@ -nir_metadata_block_index | nir_metadata_dominance +nir_metadata_control_flow ...plus some manual fixups for call sites missed by coccinelle. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Acked-by: Karol Herbst <kherbst@redhat.com> Acked-by: Juan A. Suarez Romero <jasuarez@igalia.com> [broadcom] Acked-by: Vasily Khoruzhick <anarsoul@gmail.com> [lima] Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29745>
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/runtime/vk_nir_convert_ycbcr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vulkan/runtime/vk_nir_convert_ycbcr.c b/src/vulkan/runtime/vk_nir_convert_ycbcr.c
index 8a660954284..41ea22c013e 100644
--- a/src/vulkan/runtime/vk_nir_convert_ycbcr.c
+++ b/src/vulkan/runtime/vk_nir_convert_ycbcr.c
@@ -453,7 +453,6 @@ bool nir_vk_lower_ycbcr_tex(nir_shader *nir,
};
return nir_shader_instructions_pass(nir, lower_ycbcr_tex_instr,
- nir_metadata_block_index |
- nir_metadata_dominance,
+ nir_metadata_control_flow,
&state);
}