update to the latest vertex fetch proposal
The main difference is that XGL_SLOT_VERTEX_INPUT is replaced by
xglCmdBindVertexData. This actually simplifies the driver, which can be seen
with:
$ git show icd/intel/
The new proposal also adds some new formats, but they are ignored for now
because they are marked TBD.
diff --git a/tests/xglrenderframework.cpp b/tests/xglrenderframework.cpp
index ab87374..ebc411c 100644
--- a/tests/xglrenderframework.cpp
+++ b/tests/xglrenderframework.cpp
@@ -462,11 +462,13 @@
xglCmdBindStateObject( m_cmdBuffer, XGL_STATE_BIND_DEPTH_STENCIL, m_stateDepthStencil );
xglCmdBindStateObject( m_cmdBuffer, XGL_STATE_BIND_MSAA, m_stateMsaa );
- // bind pipeline, vertex buffer (descriptor set) and WVP (dynamic memory view)
+ // bind pipeline and WVP (dynamic memory view)
xglCmdBindPipeline( m_cmdBuffer, XGL_PIPELINE_BIND_POINT_GRAPHICS, *pipeline );
- // bind pipeline, vertex buffer (descriptor set) and WVP (dynamic memory view)
+ // bind pipeline and WVP (dynamic memory view)
xglCmdBindDescriptorSet(m_cmdBuffer, XGL_PIPELINE_BIND_POINT_GRAPHICS, 0, m_rsrcDescSet, 0 );
+
+ xglCmdBindVertexData(m_cmdBuffer, m_vtxBufferView.mem, m_vtxBufferView.offset, 0);
}
void XglRenderFramework::GenerateClearAndPrepareBufferCmds()