mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02: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);
|
assert(buffer);
|
||||||
|
|
||||||
struct anv_buffer_view *view =
|
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 =
|
const struct anv_format *format =
|
||||||
anv_format_for_descriptor_type(write->descriptorType);
|
anv_format_for_descriptor_type(write->descriptorType);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue