aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-03-16 11:49:58 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-03-25 16:00:21 -0600
commitd8cb27f594704ef5100dcce44568b3f5b312fb2b (patch)
tree21106da32ab66f14c698cebd77b118ec72bea446
parent1bfbc0148cea094dcd00cdcc059cd25febe90a0e (diff)
downloadusermoji-d8cb27f594704ef5100dcce44568b3f5b312fb2b.tar.xz
layers: Rename synchDS function to validateVBBinding
-rw-r--r--layers/draw_state.c7
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];