diff options
author | Dave Airlie <[email protected]> | 2012-12-11 19:52:48 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-12-12 10:35:05 +1000 |
commit | 621259b3de1f15c879620bbf17764fd8a27ae6f5 (patch) | |
tree | 72c72aaf268c0e54ed74a4af994a7d59e21ebdb4 /src/gallium/drivers/softpipe/sp_screen.c | |
parent | 3392f2fbcfe8c82b764a064359999866c97ba551 (diff) |
softpipe: implement seamless cubemap support. (v1.1)
This adds seamless sampling for cubemap boundaries if requested.
The corner case averaging is messy but seems like it should be spec
compliant.
The face direction stuff is also a bit messy, I've no idea if that could
or should be simpler, or even if all my directions are fully correct!
v1.1: update comments, drop unneeded seamless calls for nearest, fix
if statement layout.
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index f3448142959..564da5e1bc1 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -127,7 +127,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) return 1; case PIPE_CAP_SEAMLESS_CUBE_MAP: case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: - return 0; + return 1; case PIPE_CAP_SCALED_RESOLVE: return 0; case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS: |