avutil/vulkan: Don't autoinclude vulkan_loader.h
Only include it where necessary. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
#include "vulkan_decode.h"
|
#include "vulkan_decode.h"
|
||||||
#include "config_components.h"
|
#include "config_components.h"
|
||||||
#include "libavutil/avassert.h"
|
#include "libavutil/avassert.h"
|
||||||
|
#include "libavutil/vulkan_loader.h"
|
||||||
|
|
||||||
#if CONFIG_H264_VULKAN_HWACCEL
|
#if CONFIG_H264_VULKAN_HWACCEL
|
||||||
extern const VkExtensionProperties ff_vk_dec_h264_ext;
|
extern const VkExtensionProperties ff_vk_dec_h264_ext;
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "vulkan_filter.h"
|
#include "vulkan_filter.h"
|
||||||
|
#include "libavutil/vulkan_loader.h"
|
||||||
|
|
||||||
int ff_vk_filter_init_context(AVFilterContext *avctx, FFVulkanContext *s,
|
int ff_vk_filter_init_context(AVFilterContext *avctx, FFVulkanContext *s,
|
||||||
AVBufferRef *frames_ref,
|
AVBufferRef *frames_ref,
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
#include "avassert.h"
|
#include "avassert.h"
|
||||||
|
|
||||||
#include "vulkan.h"
|
#include "vulkan.h"
|
||||||
#include "vulkan_loader.h"
|
|
||||||
|
|
||||||
const VkComponentMapping ff_comp_identity_map = {
|
const VkComponentMapping ff_comp_identity_map = {
|
||||||
.r = VK_COMPONENT_SWIZZLE_IDENTITY,
|
.r = VK_COMPONENT_SWIZZLE_IDENTITY,
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
#include "hwcontext.h"
|
#include "hwcontext.h"
|
||||||
#include "vulkan_functions.h"
|
#include "vulkan_functions.h"
|
||||||
#include "hwcontext_vulkan.h"
|
#include "hwcontext_vulkan.h"
|
||||||
#include "vulkan_loader.h"
|
|
||||||
|
|
||||||
/* GLSL management macros */
|
/* GLSL management macros */
|
||||||
#define INDENT(N) INDENT_##N
|
#define INDENT(N) INDENT_##N
|
||||||
|
|||||||
Reference in New Issue
Block a user