From 65af4b6be76afba4bc1d9d334c9c956ab6089b6f Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Tue, 31 Mar 2015 16:36:30 -0600 Subject: xgl: Update interface for sparse vertex attrs Bug #13402 header version: 0.64.0 --- include/xgl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/xgl.h b/include/xgl.h index 8e7aa161..c9c27917 100644 --- a/include/xgl.h +++ b/include/xgl.h @@ -33,7 +33,7 @@ #include "xglPlatform.h" // XGL API version supported by this file -#define XGL_API_VERSION XGL_MAKE_VERSION(0, 63, 0) +#define XGL_API_VERSION XGL_MAKE_VERSION(0, 64, 0) #ifdef __cplusplus extern "C" @@ -1879,6 +1879,7 @@ typedef struct _XGL_COMPUTE_PIPELINE_CREATE_INFO typedef struct _XGL_VERTEX_INPUT_BINDING_DESCRIPTION { + uint32_t binding; // Vertex buffer binding id uint32_t strideInBytes; // Distance between vertices in bytes (0 = no advancement) XGL_VERTEX_INPUT_STEP_RATE stepRate; // Rate at which binding is incremented @@ -1886,7 +1887,8 @@ typedef struct _XGL_VERTEX_INPUT_BINDING_DESCRIPTION typedef struct _XGL_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION { - uint32_t binding; // index into vertexBindingDescriptions + uint32_t location; // location of the shader vertex attrib + uint32_t binding; // Vertex buffer binding id XGL_FORMAT format; // format of source data -- cgit v1.2.3