pan/mdg: Lower away gl_VertexID offset
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 4 Jun 2021 23:07:41 +0000 (19:07 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:10 +0000 (18:06 +0000)
commit68846ba4a8caf881649fd79e80b379b421aca1ca
tree646a959396160915bcc2459f0b79bdb45e4e8948
parent26baad41f15504194c1004a47bad65765213c220
pan/mdg: Lower away gl_VertexID offset

Technically we can stick the offset in the vertex ID attribute record,
but this is a faster way to get the test passing and Midgard perf?
what's that?

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
src/panfrost/lib/pan_shader.c
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_compile.h