diff options
author | Christian Gmeiner <[email protected]> | 2019-06-18 00:54:47 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2019-09-18 06:47:21 +0200 |
commit | dcc0e23438f3e5929c2ef74d57e8207be25ecb41 (patch) | |
tree | d0422f6362f2ce970174328f79f2f1241764a6d4 /src/gallium/auxiliary | |
parent | 417d602fdad22042ff1f90176f10c486a3bb0e9a (diff) |
Revert "gallium: remove PIPE_CAP_TEXTURE_SHADOW_MAP"
There are GPUs that do not support this feature.
This reverts commit e871abe452ad40efcccb0bab6b88fc31d0551e29
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c index 83b1c4df15b..a5711e5595c 100644 --- a/src/gallium/auxiliary/util/u_screen.c +++ b/src/gallium/auxiliary/util/u_screen.c @@ -387,6 +387,9 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, return 0; #endif + case PIPE_CAP_TEXTURE_SHADOW_MAP: /* Enables ARB_shadow */ + return 1; + default: unreachable("bad PIPE_CAP_*"); } |