diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-02-23 09:58:39 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-02-24 11:28:13 -0700 |
| commit | 7fd2f5015953d3b163c288cf10211c6c9b42485b (patch) | |
| tree | 8e24ad10bbb42e0193bb665a9b3bac29e120fb2e /layers/image.cpp | |
| parent | 4b2778252d680b9bec6f7f45b5308131ba132422 (diff) | |
| download | usermoji-7fd2f5015953d3b163c288cf10211c6c9b42485b.tar.xz | |
layers: Make layer option names more consistent and update docs
Diffstat (limited to 'layers/image.cpp')
| -rw-r--r-- | layers/image.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layers/image.cpp b/layers/image.cpp index 56197c9c..0f3fae97 100644 --- a/layers/image.cpp +++ b/layers/image.cpp @@ -77,15 +77,15 @@ static unordered_map<void*, layer_data*> layer_data_map; static void InitImage(layer_data *data, const VkAllocationCallbacks *pAllocator) { VkDebugReportCallbackEXT callback; - uint32_t report_flags = getLayerOptionFlags("ImageReportFlags", 0); + uint32_t report_flags = getLayerOptionFlags("lunarg_image.report_flags", 0); uint32_t debug_action = 0; - getLayerOptionEnum("ImageDebugAction", (uint32_t *) &debug_action); + getLayerOptionEnum("lunarg_image.debug_action", (uint32_t *) &debug_action); if(debug_action & VK_DBG_LAYER_ACTION_LOG_MSG) { FILE *log_output = NULL; - const char* option_str = getLayerOption("ImageLogFilename"); - log_output = getLayerLogOutput(option_str, "Image"); + const char* option_str = getLayerOption("lunarg_image.log_filename"); + log_output = getLayerLogOutput(option_str, "lunarg_image"); VkDebugReportCallbackCreateInfoEXT dbgInfo; memset(&dbgInfo, 0, sizeof(dbgInfo)); dbgInfo.sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT; |
