diff options
author | Jason Ekstrand <[email protected]> | 2019-02-06 17:16:34 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-03-05 10:06:50 -0600 |
commit | 3822c7495a096195c81652b5a813b6571ae652d4 (patch) | |
tree | 1c900abb289726fd01578132fbc9221e98c75da9 /src/intel/vulkan/anv_private.h | |
parent | 8c6d410a50d3a7b1e5140b78cfa22dc8b23049c8 (diff) |
anv: Stop allocating buffer views for dynamic buffers
We emit the surface states for those on-the-fly so we don't need the
buffer view.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index c997d79e0b6..e6750cada2a 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1514,7 +1514,7 @@ struct anv_descriptor_set_binding_layout { int16_t dynamic_offset_index; /* Index into the descriptor set buffer views */ - int16_t buffer_index; + int16_t buffer_view_index; struct { /* Index into the binding table for the associated surface */ @@ -1544,8 +1544,8 @@ struct anv_descriptor_set_layout { /* Shader stages affected by this descriptor set */ uint16_t shader_stages; - /* Number of buffers in this descriptor set */ - uint16_t buffer_count; + /* Number of buffer views in this descriptor set */ + uint16_t buffer_view_count; /* Number of dynamic offsets used by this descriptor set */ uint16_t dynamic_offset_count; @@ -1593,7 +1593,7 @@ struct anv_descriptor { struct anv_descriptor_set { struct anv_descriptor_set_layout *layout; uint32_t size; - uint32_t buffer_count; + uint32_t buffer_view_count; struct anv_buffer_view *buffer_views; struct anv_descriptor descriptors[0]; }; |