hwcontext_vulkan: update debugging layer name

This commit is contained in:
Lynne 2020-05-10 21:13:55 +01:00
parent 030a565baf
commit acfef378b7
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -425,7 +425,7 @@ static int create_instance(AVHWDeviceContext *ctx, AVDictionary *opts)
return err;
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.enabledLayerCount = FF_ARRAY_ELEMS(layers);
}