memory alloc: Add allocation index to BindObjectMemory
For now it is always index 0. Updates, driver, glave, tests, demos, include,
and layers.
diff --git a/tests/render_tests.cpp b/tests/render_tests.cpp
index ffaaa7b..226472f 100644
--- a/tests/render_tests.cpp
+++ b/tests/render_tests.cpp
@@ -384,7 +384,7 @@
ASSERT_XGL_SUCCESS(err);
/* bind memory */
- err = xglBindObjectMemory(m_depthStencilImage, m_depthStencilMem, 0);
+ err = xglBindObjectMemory(m_depthStencilImage, 0, m_depthStencilMem, 0);
ASSERT_XGL_SUCCESS(err);
XGL_DYNAMIC_DS_STATE_CREATE_INFO depthStencil = {};