mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
hwcontext_vulkan: constify validation layer features table
The struct data seem to get corrupted otherwise. Possibly a validation layer or libvulkan issue.
This commit is contained in:
@@ -777,7 +777,7 @@ static int create_instance(AVHWDeviceContext *ctx, AVDictionary *opts)
|
||||
goto fail;
|
||||
|
||||
if (debug_mode) {
|
||||
VkValidationFeatureEnableEXT feat_list[] = {
|
||||
static const VkValidationFeatureEnableEXT feat_list[] = {
|
||||
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT,
|
||||
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT,
|
||||
VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT,
|
||||
|
||||
Reference in New Issue
Block a user