aboutsummaryrefslogtreecommitdiff
path: root/vk_layer_documentation_generate.py
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-04-21 14:19:26 -0600
committerTobin Ehlis <tobine@google.com>2016-04-26 06:30:20 -0600
commit3008df8f633d254233894338ce5cd0fd615c1cb2 (patch)
tree4e61515f1c068f8098cb437be4536ecb5622317e /vk_layer_documentation_generate.py
parent530fb897313a21b28feb6ae9fcf7d9272cb2c194 (diff)
downloadusermoji-3008df8f633d254233894338ce5cd0fd615c1cb2.tar.xz
layers: Break out VkDescriptorSetLayout code into its own class
This is the start of a refactor to pull code out of core_validation.cpp into its own separate classes. I'm starting with descriptor set code as it isolates reasonably well and it's old and could use some updating anyway. For this first piece I've broken VkDescriptorSetLayout into its own class currently called DescriptorSetLayout. I don't know if that's a great name as it's close to VkDescriptorSetLayout, so I'm open to changing it. Provided a brief class description in comment in new file descriptor_sets.h. I made the class interfaces based on what other code is currently using. I'm planning to pull more descriptor set code into its own classes and I anticipate that will cause some flux in the class interfaces until most of the work is done.
Diffstat (limited to 'vk_layer_documentation_generate.py')
-rwxr-xr-xvk_layer_documentation_generate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/vk_layer_documentation_generate.py b/vk_layer_documentation_generate.py
index 485a1872..a14e16bc 100755
--- a/vk_layer_documentation_generate.py
+++ b/vk_layer_documentation_generate.py
@@ -49,15 +49,15 @@ import platform
# TODO : Need list of known validation layers to use as default input
# Just a couple of flat lists right now, but may need to make this input file
# or at least a more dynamic data structure
-layer_inputs = { 'draw_state' : {'header' : 'layers/core_validation.h',
+layer_inputs = { 'draw_state' : {'header' : 'layers/core_validation_error_enums.h',
'source' : 'layers/core_validation.cpp',
'generated' : False,
'error_enum' : 'DRAW_STATE_ERROR'},
- 'shader_checker' : {'header' : 'layers/core_validation.h',
+ 'shader_checker' : {'header' : 'layers/core_validation_error_enums.h',
'source' : 'layers/core_validation.cpp',
'generated' : False,
'error_enum' : 'SHADER_CHECKER_ERROR'},
- 'mem_tracker' : {'header' : 'layers/core_validation.h',
+ 'mem_tracker' : {'header' : 'layers/core_validation_error_enums.h',
'source' : 'layers/core_validation.cpp',
'generated' : False,
'error_enum' : 'MEM_TRACK_ERROR'},