aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-06-01 18:26:03 -0400
committerMarge Bot <[email protected]>2020-06-03 22:58:46 +0000
commit3f8abd867616fc4ceccb2877cd1e629232397fb4 (patch)
treebd7a18878e38697470b9e6d5374d6f56d97d6c49 /src/gallium/drivers
parentbc7397f37633eccac6709af55033533682620387 (diff)
panfrost: Prefer sysval for gl_PointCoord on Bifrost
It's like gl_FragCoord. Still not implemented. This unfortunately makes point sprites a lot more complicated. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5290>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 01a5355b87d..b9872398061 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -196,6 +196,7 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param)
/* We would prefer varyings on Midgard, but proper sysvals on Bifrost */
case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL:
case PIPE_CAP_TGSI_FS_POSITION_IS_SYSVAL:
+ case PIPE_CAP_TGSI_FS_POINT_IS_SYSVAL:
return dev->quirks & IS_BIFROST;
/* I really don't want to set this CAP but let's not swim against the