diff options
author | Dave Airlie <[email protected]> | 2017-06-07 09:14:54 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-06-07 10:24:37 +1000 |
commit | 00fe30f376c8db397284b4d16354314e2fc88505 (patch) | |
tree | 8f072b5c9d504c22d77bbc3f5bf7c0eefad75e6c /src/amd/vulkan/radv_private.h | |
parent | 734ea16bdb8f06f74177664577a754b029504e4b (diff) |
radv: move lots of index related things into the bind.
This just moves lots of stuff to the bind stage rather than
dealing with it in the draw stage.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 13f298e72e9..c21b17e8be4 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -764,9 +764,9 @@ struct radv_cmd_state { struct radv_descriptor_set * descriptors[MAX_SETS]; struct radv_attachment_state * attachments; VkRect2D render_area; - struct radv_buffer * index_buffer; uint32_t index_type; - uint32_t index_offset; + uint64_t index_va; + uint32_t max_index_count; int32_t last_primitive_reset_en; uint32_t last_primitive_reset_index; enum radv_cmd_flush_bits flush_bits; |