From: Christian Gmeiner Date: Mon, 17 Jun 2019 22:52:19 +0000 (+0200) Subject: etnaviv: disable ARB_shadow X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d5f905faad76a46c732dc43c4009cbf0f5da170;p=mesa.git 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 --- diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index c1cc56bc34b..b93eaf2ae7f 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;