panfrost: Implement gl_FragCoord correctly
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 22 Aug 2019 18:29:23 +0000 (11:29 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 22 Aug 2019 20:31:39 +0000 (13:31 -0700)
commit2c5ba2ee6ea68aa3062156d1a4abfc3b2556775d
tree8fa38beca758dbf3f5d50eb845716969d31e3435
parenteeebf5c2dfbf68e8db5a9926bba7ae55ed7c1b54
panfrost: Implement gl_FragCoord correctly

Rather than passing through the transformed gl_Position, we can use the
hardware-level varying for this, which will correctly handle
gl_FragCoord.w

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/ci/expected-failures.txt
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_varyings.c
src/panfrost/include/panfrost-job.h