diff options
author | Jason Ekstrand <[email protected]> | 2016-01-04 21:36:11 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-01-04 21:36:11 -0800 |
commit | ba7b5edc267c8a33eb55b83f9b0ea30e73e4b2c2 (patch) | |
tree | 932bdcc0d30e40e87a5fb67ebf7e9418c8155754 /src | |
parent | b8f0bea07a6e8517962777702ebed4649a7d0d0f (diff) |
anv/UpdateDescriptorSets: Use the correct index for the buffer view
Diffstat (limited to 'src')
-rw-r--r-- | src/vulkan/anv_descriptor_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_descriptor_set.c b/src/vulkan/anv_descriptor_set.c index 6d38d114f96..6e53f3897c8 100644 --- a/src/vulkan/anv_descriptor_set.c +++ b/src/vulkan/anv_descriptor_set.c @@ -544,7 +544,7 @@ void anv_UpdateDescriptorSets( assert(buffer); struct anv_buffer_view *view = - &set->buffer_views[bind_layout->descriptor_index + j]; + &set->buffer_views[bind_layout->buffer_index + j]; const struct anv_format *format = anv_format_for_descriptor_type(write->descriptorType); |