1
0

use another validation layer hence the old one is not available on newer vulkan sdk

This commit is contained in:
Niklas Birk 2021-03-03 17:47:59 +01:00
parent 438accf2f5
commit 3acbaf8702

View File

@ -17,7 +17,7 @@ void createInstance(Compute *compute, Graphics *graphics)
#ifndef NDEBUG
enabledLayerSize = 1;
enabledLayer = malloc(sizeof(char *));
enabledLayer[0] = "VK_LAYER_LUNARG_standard_validation";
enabledLayer[0] = "VK_LAYER_KHRONOS_validation";
#endif
VkApplicationInfo applicationInfo = {};