From 8d5f905faad76a46c732dc43c4009cbf0f5da170 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 18 Jun 2019 00:52:19 +0200 Subject: [PATCH] etnaviv: disable ARB_shadow Looks like only HALT2 GPUs have support for it but that is not yet implemented so disable ARB_shadow for now. Signed-off-by: Christian Gmeiner Reviewed-by: Jonathan Marek Reviewed-by: Eric Anholt --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index c1cc56b..b93eaf2 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -192,6 +192,8 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 255; /* Texturing. */ + case PIPE_CAP_TEXTURE_SHADOW_MAP: + return 0; case PIPE_CAP_MAX_TEXTURE_2D_SIZE: case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS: /* TODO: verify */ return screen->specs.max_texture_size; -- 2.7.4