mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
anv/UpdateDescriptorSets: Use the correct index for the buffer view
This commit is contained in:
parent
b8f0bea07a
commit
ba7b5edc26
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue