summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_screen.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-10 11:30:00 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-10 11:30:00 -0700
commitbb483a91663f663fac33879491dfb62b87fce3b1 (patch)
tree5fbb152218e43081877114e9408a68e19462ad4d /src/gallium/drivers/panfrost/pan_screen.c
parent7318b525a2e5fab41c8e4bf6945c58fcf7eff81f (diff)
panfrost: Clamp point size
It's not clear the hardware really has a maximum which confuses dEQP; clamp to whatever we report as our maximum. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.c')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 9be9bad6693..f8a637be850 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -335,7 +335,7 @@ panfrost_get_paramf(struct pipe_screen *screen, enum pipe_capf param)
/* fall-through */
case PIPE_CAPF_MAX_POINT_WIDTH_AA:
- return 255.0; /* arbitrary */
+ return 1024.0;
case PIPE_CAPF_MAX_TEXTURE_ANISOTROPY:
return 16.0;