summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-06 12:07:36 -0800
committerJason Ekstrand <[email protected]>2015-11-06 12:16:54 -0800
commit45b1bbe80197f646e72362502fa047df372bdd4e (patch)
tree100b0f046a915fda4d8a673c2c9e71e54819e5ae /src/vulkan/anv_private.h
parentf029e0ce13b1fd6182c98a76df3920431a867589 (diff)
anv: Add a descriptor_index to anv_descriptor_set_binding_layout
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index a208162bbb6..8000e9f5396 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -689,6 +689,9 @@ struct anv_descriptor_set_binding_layout {
/* Number of array elements in this binding */
uint16_t array_size;
+ /* Index into the flattend descriptor set */
+ uint16_t descriptor_index;
+
/* Index into the dynamic state array for a dynamic buffer */
int16_t dynamic_offset_index;