mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-25 12:48:03 +00:00
hwcontext_vulkan: update debugging layer name
This commit is contained in:
parent
030a565baf
commit
acfef378b7
@ -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…
Reference in New Issue
Block a user