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/icd/intel/obj.c b/icd/intel/obj.c
index c3493dd..817affa 100644
--- a/icd/intel/obj.c
+++ b/icd/intel/obj.c
@@ -363,6 +363,7 @@
ICD_EXPORT XGL_RESULT XGLAPI xglBindObjectMemory(
XGL_OBJECT object,
+ XGL_UINT allocationIdx,
XGL_GPU_MEMORY mem_,
XGL_GPU_SIZE memOffset)
{
@@ -376,6 +377,7 @@
ICD_EXPORT XGL_RESULT XGLAPI xglBindObjectMemoryRange(
XGL_OBJECT object,
+ XGL_UINT allocationIdx,
XGL_GPU_SIZE rangeOffset,
XGL_GPU_SIZE rangeSize,
XGL_GPU_MEMORY mem,
@@ -386,6 +388,7 @@
ICD_EXPORT XGL_RESULT XGLAPI xglBindImageMemoryRange(
XGL_IMAGE image,
+ XGL_UINT allocationIdx,
const XGL_IMAGE_MEMORY_BIND_INFO* bindInfo,
XGL_GPU_MEMORY mem,
XGL_GPU_SIZE memOffset)