Mesa (master): anv/pipeline: Fix bind maps for fragment output arrays
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Tue Aug 30 22:49:04 UTC 2016
Module: Mesa
Branch: master
Commit: 4200c2266e9c1f76e54d667e69a1a69516e6bf57
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4200c2266e9c1f76e54d667e69a1a69516e6bf57
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Aug 25 12:21:51 2016 -0700
anv/pipeline: Fix bind maps for fragment output arrays
Found by inspection.
Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
Cc: "12.0" <mesa-stable at lists.freedesktop.org>
---
src/intel/vulkan/anv_pipeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 88f414e..dd93d4a 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,
More information about the mesa-commit
mailing list