vulkan: prefer vulkan_core.h over vulkan.h
If we include vulkan.h, we risk including the WSI bits as well, which we
don't need here. Only trouble can follow from including these where
they're not needed.
So let's include vulkan_core.h in these places instead.
Fixes: b39958a3a1
("anv,nir: Move the ANV YCbCr lowering pass to common code")
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21185>
This commit is contained in:

committed by
Marge Bot

parent
f5bde99cbd
commit
7ea85871fe
@@ -23,7 +23,7 @@
|
||||
#ifndef VK_OBJECT_H
|
||||
#define VK_OBJECT_H
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <vulkan/vk_icd.h>
|
||||
|
||||
#include "c11/threads.h"
|
||||
|
Reference in New Issue
Block a user