summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-07-02 12:49:06 -0700
committerJason Ekstrand <[email protected]>2018-07-09 15:37:51 -0700
commit2caf6c039289de1c26ad55c68708edd51f0b8277 (patch)
treeea5e648e458e5d3cfc0ae754b3c18a4c553cc02b /src/intel/vulkan/anv_private.h
parent32f4feb5a0d515c7ec1aaa774cefd8496414d53f (diff)
anv/pipeline: Add a per-VB instance divisor
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index ae763e4e2eb..cec28427923 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -2386,6 +2386,7 @@ struct anv_pipeline {
struct anv_pipeline_vertex_binding {
uint32_t stride;
bool instanced;
+ uint32_t instance_divisor;
} vb[MAX_VBS];
bool primitive_restart;