panfrost: Multiply offset_units by 2
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 13 Nov 2019 07:42:34 +0000 (08:42 +0100)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 15 Nov 2019 13:45:29 +0000 (14:45 +0100)
commit7d24cef20025d7d58a4e9ceac321e5a82c732ee2
treeb625f81275659b837bb6275ca2acaba49a24c870
parentc061185e17aabd0e6802bde12eb8428f6b263922
panfrost: Multiply offset_units by 2

Per the spec, the units passed to glPolygonOffset are to be multiplied
by an implementation-defined constant.

On Midgard, this constant seems to be 2.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
.gitlab-ci/deqp-panfrost-t760-fails.txt
.gitlab-ci/deqp-panfrost-t860-fails.txt
src/gallium/drivers/panfrost/pan_context.c