diff options
| author | Dana Jansens <danakj@google.com> | 2015-07-30 13:22:15 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-31 17:49:06 -0600 |
| commit | 22fd625405f193f79a5646a67f6f90001023bba5 (patch) | |
| tree | 6d4464558837df9a48b9dba2686492c898d1e534 | |
| parent | 421b7403641d82b50abbf2d20233dd2eb3e2de03 (diff) | |
| download | usermoji-22fd625405f193f79a5646a67f6f90001023bba5.tar.xz | |
Initialize VkDesciptorSet to VK_NULL_HANDLE
| -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 44761194..d21dc60b 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -244,7 +244,7 @@ static uint32_t g_lastTouchedCBIndex = 0; static GLOBAL_CB_NODE* g_lastGlobalCB = NULL; static PIPELINE_NODE* g_lastBoundPipeline = NULL; static uint64_t g_lastBoundDynamicState[VK_NUM_STATE_BIND_POINT] = {0}; -static VkDescriptorSet g_lastBoundDescriptorSet = VkDescriptorSet(0); +static VkDescriptorSet g_lastBoundDescriptorSet = VK_NULL_HANDLE; #define MAX_BINDING 0xFFFFFFFF // Default vtxBinding value in CB Node to identify if no vtxBinding set //static DYNAMIC_STATE_NODE* g_pDynamicStateHead[VK_NUM_STATE_BIND_POINT] = {0}; |
