forked from FFmpeg/FFmpeg
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:
parent
9e606b33a8
commit
957d34784a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue