summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-25 12:21:51 -0700
committerJason Ekstrand <[email protected]>2016-08-30 15:08:23 -0700
commit4200c2266e9c1f76e54d667e69a1a69516e6bf57 (patch)
treefe07a494fd35d8ffbceefc574199276348d7e91f /src/intel/vulkan
parentd316cec1c1e3a77f63332f99883ffeeeb21a6f5e (diff)
anv/pipeline: Fix bind maps for fragment output arrays
Found by inspection. Signed-off-by: Jason Ekstrand <[email protected]> Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 88f414e023a..dd93d4a2ac1 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -639,7 +639,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,