mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
anv/pipeline: Fix bind maps for fragment output arrays
Found by inspection.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 4200c2266e)
This commit is contained in:
parent
1d0c79b13b
commit
e12b7486b3
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@ anv_pipeline_compile_fs(struct anv_pipeline *pipeline,
|
|||
assert(num_rts + array_len <= 8);
|
||||
|
||||
for (unsigned i = 0; i < array_len; i++) {
|
||||
rt_bindings[num_rts] = (struct anv_pipeline_binding) {
|
||||
rt_bindings[num_rts + i] = (struct anv_pipeline_binding) {
|
||||
.set = ANV_DESCRIPTOR_SET_COLOR_ATTACHMENTS,
|
||||
.binding = 0,
|
||||
.index = rt + i,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue