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 <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5370>
This commit is contained in:
Jonathan Marek 2020-06-06 13:06:34 -04:00
parent ab72c07aef
commit 7b4f0eadc1

View file

@ -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));
}