mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
hwcontext_vulkan: update debugging layer name
This commit is contained in:
parent
030a565baf
commit
acfef378b7
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ static int create_instance(AVHWDeviceContext *ctx, AVDictionary *opts)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
if (debug_mode) {
|
if (debug_mode) {
|
||||||
static const char *layers[] = { "VK_LAYER_LUNARG_standard_validation" };
|
static const char *layers[] = { "VK_LAYER_KHRONOS_validation" };
|
||||||
inst_props.ppEnabledLayerNames = layers;
|
inst_props.ppEnabledLayerNames = layers;
|
||||||
inst_props.enabledLayerCount = FF_ARRAY_ELEMS(layers);
|
inst_props.enabledLayerCount = FF_ARRAY_ELEMS(layers);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue