diff options
author | Jason Ekstrand <[email protected]> | 2018-07-02 12:44:49 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-07-09 15:37:51 -0700 |
commit | 32f4feb5a0d515c7ec1aaa774cefd8496414d53f (patch) | |
tree | e7889aa74e6af2f724d0b901ba4e72df60de36df /src/intel/vulkan/anv_private.h | |
parent | 6db20229ab6f1324a191d0a1b13437e31a9ec9cd (diff) |
anv/pipeline: Use a per-VB struct instead of separate arrays
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.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 1763b81fbc2..ae763e4e2eb 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -2383,8 +2383,11 @@ struct anv_pipeline { struct anv_state blend_state; uint32_t vb_used; - uint32_t binding_stride[MAX_VBS]; - bool instancing_enable[MAX_VBS]; + struct anv_pipeline_vertex_binding { + uint32_t stride; + bool instanced; + } vb[MAX_VBS]; + bool primitive_restart; uint32_t topology; |