From: Tobin Ehlis Date: Wed, 15 Apr 2015 23:19:18 +0000 (-0600) Subject: layers: Add ThreadingChecker as a Validation layer X-Git-Tag: upstream/1.1.92~5752 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee60f9f82beb1c8beaf63c7eb2f03166afad0d45;p=platform%2Fupstream%2FVulkan-Tools.git layers: Add ThreadingChecker as a Validation layer --- diff --git a/vk-layer-generate.py b/vk-layer-generate.py index 8c6f255..2af7eb9 100755 --- a/vk-layer-generate.py +++ b/vk-layer-generate.py @@ -209,6 +209,13 @@ class Subcommand(object): ggei_body.append(' {0x10, "objTrackGetObjectCount"},') ggei_body.append(' {0x10, "objTrackGetObjects"}') ggei_body.append('};') + elif layer == 'Threading': + ggei_body.append('#define LAYER_EXT_ARRAY_SIZE 2') + ggei_body.append('static const struct extProps layerExts[LAYER_EXT_ARRAY_SIZE] = {') + ggei_body.append(' // TODO what is the version?') + ggei_body.append(' {0x10, "%s"},' % layer) + ggei_body.append(' {0x10, "Validation"},') + ggei_body.append('};') else: ggei_body.append('#define LAYER_EXT_ARRAY_SIZE 1') ggei_body.append('static const struct extProps layerExts[LAYER_EXT_ARRAY_SIZE] = {')