diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2015-03-16 11:49:58 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobin@lunarg.com> | 2015-03-25 16:00:21 -0600 |
| commit | d8cb27f594704ef5100dcce44568b3f5b312fb2b (patch) | |
| tree | 21106da32ab66f14c698cebd77b118ec72bea446 | |
| parent | 1bfbc0148cea094dcd00cdcc059cd25febe90a0e (diff) | |
| download | usermoji-d8cb27f594704ef5100dcce44568b3f5b312fb2b.tar.xz | |
layers: Rename synchDS function to validateVBBinding
| -rw-r--r-- | layers/draw_state.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/layers/draw_state.c b/layers/draw_state.c index bf86cfd4..e4508523 100644 --- a/layers/draw_state.c +++ b/layers/draw_state.c @@ -1402,9 +1402,8 @@ static void dumpDotFile(const XGL_CMD_BUFFER cb, char *outFileName) } } } -// Synch up currently bound pipeline settings with DS mappings -// TODO : Update name. We don't really have to "synch" the descriptors anymore and "mapping" is outdated as well. -static void synchDSMapping(const XGL_CMD_BUFFER cb) +// Verify VB Buffer binding +static void validateVBBinding(const XGL_CMD_BUFFER cb) { GLOBAL_CB_NODE* pCB = getCBNode(cb); if (pCB && pCB->lastBoundPipeline) { @@ -1509,7 +1508,6 @@ static void printCB(const XGL_CMD_BUFFER cb) static void synchAndPrintDSConfig(const XGL_CMD_BUFFER cb) { - synchDSMapping(cb); printDSConfig(cb); printPipeline(cb); printDynamicState(cb); @@ -2191,6 +2189,7 @@ XGL_LAYER_EXPORT void XGLAPI xglCmdBindVertexBuffer(XGL_CMD_BUFFER cmdBuffer, XG updateCBTracking(cmdBuffer); addCmd(pCB, CMD_BINDVERTEXBUFFER); pCB->lastVtxBinding = binding; + validateVBBinding(cmdBuffer); } else { char str[1024]; |
