From 64605febeeb80f1d5cbf796028f8489d30e772cd Mon Sep 17 00:00:00 2001 From: Lenny Komow Date: Tue, 19 Dec 2017 16:22:34 -0700 Subject: TEST: Create pre-instance intercept test case This commit should NOT be merged into master as it screws up core validation. It is useful for testing purposes, to test the pre- instance layer functionality. Change-Id: Id4e078aac4289a4b951da0cb85b20306c7007597 --- layers/linux/VkLayer_core_validation.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'layers/linux') diff --git a/layers/linux/VkLayer_core_validation.json b/layers/linux/VkLayer_core_validation.json index 6809c929..e8882e3e 100644 --- a/layers/linux/VkLayer_core_validation.json +++ b/layers/linux/VkLayer_core_validation.json @@ -1,7 +1,7 @@ { - "file_format_version" : "1.1.0", + "file_format_version" : "1.1.2", "layer" : { - "name": "VK_LAYER_LUNARG_core_validation", + "name": "VK_LAYER_LUNARG_test_core_validation", "type": "GLOBAL", "library_path": "./libVkLayer_core_validation.so", "api_version": "1.0.67", @@ -33,11 +33,13 @@ "vkMergeValidationCachesEXT" ] } - ] + ], + "pre_instance_functions": { + "vkEnumerateInstanceExtensionProperties": "test_EnumerateInstanceExtensionProperties", + "vkEnumerateInstanceLayerProperties": "test_EnumerateInstanceLayerProperties" + }, + "disable_environment": { + "DISABLE_TEST_CORE_VALIDATION": "" + } } } - - - - - -- cgit v1.2.3