OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d0c79b
)
anv/pipeline: Fix bind maps for fragment output arrays
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 25 Aug 2016 19:21:51 +0000
(12:21 -0700)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 10:39:47 +0000
(11:39 +0100)
Found by inspection.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit
4200c2266e9c1f76e54d667e69a1a69516e6bf57
)
src/intel/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_pipeline.c
b/src/intel/vulkan/anv_pipeline.c
index
2a912d6
..
e9b80c9
100644
(file)
--- a/
src/intel/vulkan/anv_pipeline.c
+++ b/
src/intel/vulkan/anv_pipeline.c
@@
-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,