mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Strip VK_LAYER_KHRONOS_validation
This commit is contained in:
@@ -126,11 +126,12 @@ static void StripUnwantedLayers(vector<string> &Layers)
|
||||
}
|
||||
|
||||
// filter out validation layers
|
||||
if(*it == "VK_LAYER_LUNARG_standard_validation" || *it == "VK_LAYER_LUNARG_core_validation" ||
|
||||
*it == "VK_LAYER_LUNARG_device_limits" || *it == "VK_LAYER_LUNARG_image" ||
|
||||
*it == "VK_LAYER_LUNARG_object_tracker" || *it == "VK_LAYER_LUNARG_parameter_validation" ||
|
||||
*it == "VK_LAYER_LUNARG_swapchain" || *it == "VK_LAYER_GOOGLE_threading" ||
|
||||
*it == "VK_LAYER_GOOGLE_unique_objects" || *it == "VK_LAYER_LUNARG_assistant_layer")
|
||||
if(*it == "VK_LAYER_LUNARG_standard_validation" || *it == "VK_LAYER_KHRONOS_validation" ||
|
||||
*it == "VK_LAYER_LUNARG_core_validation" || *it == "VK_LAYER_LUNARG_device_limits" ||
|
||||
*it == "VK_LAYER_LUNARG_image" || *it == "VK_LAYER_LUNARG_object_tracker" ||
|
||||
*it == "VK_LAYER_LUNARG_parameter_validation" || *it == "VK_LAYER_LUNARG_swapchain" ||
|
||||
*it == "VK_LAYER_GOOGLE_threading" || *it == "VK_LAYER_GOOGLE_unique_objects" ||
|
||||
*it == "VK_LAYER_LUNARG_assistant_layer")
|
||||
{
|
||||
it = Layers.erase(it);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user