From d8cb27f594704ef5100dcce44568b3f5b312fb2b Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Mon, 16 Mar 2015 11:49:58 -0600 Subject: layers: Rename synchDS function to validateVBBinding --- layers/draw_state.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'layers') 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]; -- cgit v1.2.3