summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2019-06-18 00:52:19 +0200
committerChristian Gmeiner <[email protected]>2019-09-18 06:47:26 +0200
commit8d5f905faad76a46c732dc43c4009cbf0f5da170 (patch)
treeaaaa9840d52a0822cd309ce09033196f663f0ae5 /src
parentdcc0e23438f3e5929c2ef74d57e8207be25ecb41 (diff)
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 <[email protected]> Reviewed-by: Jonathan Marek <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c2
1 files changed, 2 insertions, 0 deletions
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;