diff options
author | Jonathan Marek <[email protected]> | 2020-06-06 13:06:34 -0400 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2020-06-08 16:28:48 -0400 |
commit | 7b4f0eadc189a1fc4607947c2f432f111a2dc20d (patch) | |
tree | 50b339cd5b4798e9958aaaafd256b90c3b14743c /src | |
parent | ab72c07aefdac3dfcc6010ed357122d982771eee (diff) |
turnip: fix VFD_CONTROL for binning pass
Fixes some cases with TU_DEBUG=forcebin, specifically the failures in:
dEQP-VK.glsl.*_vertex
Signed-off-by: Jonathan Marek <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5370>
Diffstat (limited to 'src')
-rw-r--r-- | src/freedreno/vulkan/tu_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index 3941108576d..9ddcf61e231 100644 --- 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)); } |