Skip to content

Commit

Permalink
Remove deprecated Validation Layer names.
Browse files Browse the repository at this point in the history
The individual validation layers have been deprecated and replaced by
a single layer called VK_LAYER_KHRONOS_validation.

See also:
https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/master/LAYER_CONFIGURATION.md
  • Loading branch information
jdrouan-goog authored and AWoloszyn committed Oct 14, 2020
1 parent b770798 commit 52e6888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
12 changes: 1 addition & 11 deletions gapis/api/templates/vulkan_gfx_api_extras.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,7 @@
const char kVirtualSwapchainLayerName[] = "VirtualSwapchain";
const char kGraphicsSpyLayerName[] = "GraphicsSpy";
const char* kValidationLayerNames[] = {
// Meta layers
"VK_LAYER_KHRONOS_validation",
"VK_LAYER_LUNARG_standard_validation",
// Regular layers
"VK_LAYER_GOOGLE_threading",
"VK_LAYER_LUNARG_parameter_validation",
"VK_LAYER_LUNARG_object_tracker",
"VK_LAYER_LUNARG_core_validation",
"VK_LAYER_GOOGLE_unique_objects",
};
const char* kValidationLayerNames[] = { "VK_LAYER_KHRONOS_validation" };
const char kDebugReportExtensionName[] = "VK_EXT_debug_report";

Expand Down
12 changes: 1 addition & 11 deletions gapis/api/vulkan/find_issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,7 @@ import (
"github.com/google/gapid/gapis/service"
)

var validationLayerNames = [...]string{
// Meta layers
"VK_LAYER_KHRONOS_validation",
"VK_LAYER_LUNARG_standard_validation",
// Regular layers
"VK_LAYER_GOOGLE_threading",
"VK_LAYER_LUNARG_parameter_validation",
"VK_LAYER_LUNARG_object_tracker",
"VK_LAYER_LUNARG_core_validation",
"VK_LAYER_GOOGLE_unique_objects",
}
var validationLayerNames = [...]string{ "VK_LAYER_KHRONOS_validation" }

const (
// Since Android NDK r21, the VK_LAYER_KHRONOS_validation meta layer
Expand Down

0 comments on commit 52e6888

Please sign in to comment.