diff options
Diffstat (limited to 'vk-layer-generate.py')
| -rwxr-xr-x | vk-layer-generate.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vk-layer-generate.py b/vk-layer-generate.py index 1f4f6b96..0a5a422a 100755 --- a/vk-layer-generate.py +++ b/vk-layer-generate.py @@ -590,7 +590,7 @@ class Subcommand(object): func_body.append(' const char *strOpt;') func_body.append(' // initialize %s options' % self.layer_name) func_body.append(' report_flags = getLayerOptionFlags("%sReportFlags", 0);' % self.layer_name) - func_body.append(' g_actionIsDefault = getLayerOptionEnum("%sDebugAction", (uint32_t *) &debug_action);' % self.layer_name) + func_body.append(' getLayerOptionEnum("%sDebugAction", (uint32_t *) &debug_action);' % self.layer_name) func_body.append('') func_body.append(' if (debug_action & VK_DBG_LAYER_ACTION_LOG_MSG)') func_body.append(' {') @@ -1193,8 +1193,8 @@ class ObjectTrackerSubcommand(Subcommand): header_txt.append('using namespace std;') header_txt.append('// The following is #included again to catch certain OS-specific functions being used:') header_txt.append('#include "vk_loader_platform.h"') + header_txt.append('#include "vk_layer.h"') header_txt.append('#include "vk_layer_config.h"') - header_txt.append('#include "vk_layer_msg.h"') header_txt.append('#include "vk_debug_report_lunarg.h"') header_txt.append('#include "vk_layer_table.h"') header_txt.append('#include "vk_layer_data.h"') @@ -1818,7 +1818,6 @@ class ThreadingSubcommand(Subcommand): header_txt.append('#include "vk_struct_validate_helper.h"') header_txt.append('//The following is #included again to catch certain OS-specific functions being used:') header_txt.append('#include "vk_loader_platform.h"') - header_txt.append('#include "vk_layer_msg.h"') header_txt.append('#include "vk_layer_table.h"') header_txt.append('#include "vk_layer_logging.h"') header_txt.append('') |
