diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-12-15 09:07:26 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-15 09:07:26 -0700 |
| commit | 66d7b56760657f9d57f5ec3675847a4cd2c81d38 (patch) | |
| tree | 80614a5e3ac2d7a10f74b9a5b0686582926d28e3 /layers/draw_state.cpp | |
| parent | c7403b4294352708dfe1e69c30009cc575bb1359 (diff) | |
| download | usermoji-66d7b56760657f9d57f5ec3675847a4cd2c81d38.tar.xz | |
layers: Fix debugReport object type in draw_state
Diffstat (limited to 'layers/draw_state.cpp')
| -rw-r--r-- | layers/draw_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 60b3022d..7de67be9 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -1253,7 +1253,7 @@ static VkBool32 validate_draw_state(layer_data* my_data, GLOBAL_CB_NODE* pCB, Vk for (auto setIndex : pPipe->active_sets) { // If valid set is not bound throw an error if ((pCB->boundDescriptorSets.size() <= setIndex) || (!pCB->boundDescriptorSets[setIndex])) { - result |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT, (VkDbgObjectType) 0, 0, 0, DRAWSTATE_DESCRIPTOR_SET_NOT_BOUND, "DS", + result |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT, (VkDebugReportObjectTypeLUNARG) 0, 0, 0, DRAWSTATE_DESCRIPTOR_SET_NOT_BOUND, "DS", "VkPipeline %#" PRIxLEAST64 " uses set #%u but that set is not bound.", (uint64_t)pPipe->pipeline, setIndex); } else if (!verify_set_layout_compatibility(my_data, my_data->setMap[pCB->boundDescriptorSets[setIndex]], pPipe->graphicsPipelineCI.layout, setIndex, errorString)) { // Set is bound but not compatible w/ overlapping pipelineLayout from PSO |
