From 3f8abd867616fc4ceccb2877cd1e629232397fb4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 1 Jun 2020 18:26:03 -0400 Subject: [PATCH] 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 Part-of: --- src/gallium/drivers/panfrost/pan_screen.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2