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/threading.cpp | |
| parent | 4b2778252d680b9bec6f7f45b5308131ba132422 (diff) | |
| download | usermoji-7fd2f5015953d3b163c288cf10211c6c9b42485b.tar.xz | |
layers: Make layer option names more consistent and update docs
Diffstat (limited to 'layers/threading.cpp')
| -rw-r--r-- | layers/threading.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layers/threading.cpp b/layers/threading.cpp index b110bbf0..88cc54d5 100644 --- a/layers/threading.cpp +++ b/layers/threading.cpp @@ -53,14 +53,14 @@ static void initThreading(layer_data *my_data, const VkAllocationCallbacks *pAll FILE *log_output = NULL; const char *strOpt; VkDebugReportCallbackEXT callback; - // initialize Threading options - report_flags = getLayerOptionFlags("ThreadingReportFlags", 0); - getLayerOptionEnum("ThreadingDebugAction", (uint32_t *) &debug_action); + // initialize threading options + report_flags = getLayerOptionFlags("google_threading.report_flags", 0); + getLayerOptionEnum("google_threading.debug_action", (uint32_t *) &debug_action); if (debug_action & VK_DBG_LAYER_ACTION_LOG_MSG) { - strOpt = getLayerOption("ThreadingLogFilename"); - log_output = getLayerLogOutput(strOpt, "Threading"); + strOpt = getLayerOption("google_threading.log_filename"); + log_output = getLayerLogOutput(strOpt, "google_threading"); VkDebugReportCallbackCreateInfoEXT dbgCreateInfo; memset(&dbgCreateInfo, 0, sizeof(dbgCreateInfo)); dbgCreateInfo.sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT; |
