vulkan: move nir_convert_ycbcr into vulkan runtime

This only used by vulkan drivers and depends on vulkan util, so do the move to decouple
nir from vulkan utils

Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23444>
This commit is contained in:
Yonggang Luo
2023-06-05 17:26:51 +08:00
committed by Marge Bot
parent 476022cbe1
commit b687fa4ccb
13 changed files with 19 additions and 17 deletions

View File

@@ -29,7 +29,6 @@
#include "nir/nir.h"
#include "nir/nir_builder.h"
#include "nir/nir_serialize.h"
#include "nir/nir_vulkan.h"
#include "nir/radv_nir.h"
#include "spirv/nir_spirv.h"
#include "util/disk_cache.h"
@@ -52,6 +51,7 @@
#include "aco_interface.h"
#include "sid.h"
#include "vk_format.h"
#include "vk_nir_convert_ycbcr.h"
bool
radv_shader_need_indirect_descriptor_sets(const struct radv_shader *shader)