diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-03-05 18:09:39 -0700 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2015-04-16 17:33:24 +0800 |
| commit | ed667a540d22881cbf4c2e02a21083a19f64f183 (patch) | |
| tree | 81802a973fa4ab937e2f610d6626df741a56eb13 /layers/draw_state.cpp | |
| parent | 39e2cb26e9d82c8b8d8e5c94681493ac0f37a551 (diff) | |
| download | usermoji-ed667a540d22881cbf4c2e02a21083a19f64f183.tar.xz | |
xgl: Impossible to expose multi-function queues
Bug: 13363
header version: r29597 (0.51.0)
included review feedback.
Diffstat (limited to 'layers/draw_state.cpp')
| -rw-r--r-- | layers/draw_state.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 9dbabae9..97e31fe5 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -1032,11 +1032,11 @@ static void resetCB(const XGL_CMD_BUFFER cb) } // Reset CB state XGL_FLAGS saveFlags = pCB->flags; - XGL_QUEUE_TYPE saveQT = pCB->queueType; + uint32_t saveQueueNodeIndex = pCB->queueNodeIndex; memset(pCB, 0, sizeof(GLOBAL_CB_NODE)); pCB->cmdBuffer = cb; pCB->flags = saveFlags; - pCB->queueType = saveQT; + pCB->queueNodeIndex = saveQueueNodeIndex; pCB->lastVtxBinding = MAX_BINDING; } } @@ -1873,7 +1873,7 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateCommandBuffer(XGL_DEVICE device, con memset(pCB, 0, sizeof(GLOBAL_CB_NODE)); pCB->cmdBuffer = *pCmdBuffer; pCB->flags = pCreateInfo->flags; - pCB->queueType = pCreateInfo->queueType; + pCB->queueNodeIndex = pCreateInfo->queueNodeIndex; pCB->lastVtxBinding = MAX_BINDING; cmdBufferMap[*pCmdBuffer] = pCB; loader_platform_thread_unlock_mutex(&globalLock); |
