diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-03-31 16:36:30 -0600 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2015-04-16 17:33:27 +0800 |
| commit | 65af4b6be76afba4bc1d9d334c9c956ab6089b6f (patch) | |
| tree | f7712958e670217a52a1be88859954b8b88e6ccd /include | |
| parent | 8e777be1bb338082769c8d764e8a5331f0009e9d (diff) | |
| download | usermoji-65af4b6be76afba4bc1d9d334c9c956ab6089b6f.tar.xz | |
xgl: Update interface for sparse vertex attrs
Bug #13402
header version: 0.64.0
Diffstat (limited to 'include')
| -rw-r--r-- | include/xgl.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |
