panfrost: Fix gl_VertexID/InstanceID
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 20 Feb 2020 15:03:29 +0000 (10:03 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 27 Feb 2020 15:31:37 +0000 (16:31 +0100)
commit23c859717216253ee06482051fc08cecb63f7543
tree106096747749a8b36cbd895ca09acb5aaa9eeb24
parenta0b90b45a9bcef058c8fc6ac88ba5e71a8cedade
panfrost: Fix gl_VertexID/InstanceID

Fixes a bunch of tests in dEQP-GLES3.functional.instanced.*.

Fixes: 027944c7c8c ("panfrost: Avoid reading GPU memory when packing
vertices")

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3950>
.gitlab-ci/deqp-panfrost-t860-fails.txt
src/gallium/drivers/panfrost/pan_attributes.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h