v3d: use GS_BIN inputs as VS_BIN outputs
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 8 Apr 2021 16:27:10 +0000 (18:27 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 16:08:00 +0000 (16:08 +0000)
commitd69d8817c989c0f407a0bdaa4600921d4d3bbaae
treecd282ecdd92b592468e08e1d69680c895157ec88
parent64943f206324e4032e767f0c5dfb805dcb60c47d
v3d: use GS_BIN inputs as VS_BIN outputs

When creating the Vextex Shader bin, only store outputs that will be
read later as inputs by the Geometry Shader bin.

This fixes
KHR-GLES31.core.geometry_shader.rendering.rendering.lines_input_triangle_strip_output_line_loop_drawcall
(exposed by previous commit).

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10129>
src/gallium/drivers/v3d/v3d_program.c