projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab72c07
)
turnip: fix VFD_CONTROL for binning pass
author
Jonathan Marek
<jonathan@marek.ca>
Sat, 6 Jun 2020 17:06:34 +0000
(13:06 -0400)
committer
Jonathan Marek
<jonathan@marek.ca>
Mon, 8 Jun 2020 20:28:48 +0000
(16:28 -0400)
Fixes some cases with TU_DEBUG=forcebin, specifically the failures in:
dEQP-VK.glsl.*_vertex
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5370>
src/freedreno/vulkan/tu_pipeline.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_pipeline.c
b/src/freedreno/vulkan/tu_pipeline.c
index 3941108576d02ba90698ca518a66b6c20b63a740..9ddcf61e2318f127d56e75aa15de953607582cc6 100644
(file)
--- a/
src/freedreno/vulkan/tu_pipeline.c
+++ b/
src/freedreno/vulkan/tu_pipeline.c
@@
-1683,7
+1683,7
@@
tu6_emit_vertex_input(struct tu_cs *cs,
tu_cs_emit_regs(cs,
A6XX_VFD_CONTROL_0(
- .fetch_cnt =
info->vertexBindingDescriptionCount,
+ .fetch_cnt =
vfd_decode_idx, /* decode_cnt for binning pass ? */
.decode_cnt = vfd_decode_idx));
}