diff options
author | Dave Airlie <[email protected]> | 2012-01-05 15:36:43 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-01-11 13:49:02 +0000 |
commit | 0fe2b397bbee346f72f48f364a78459e5a54c534 (patch) | |
tree | b06d8bf4bee458251d1ff820a429832b78aeb157 /src/gallium/drivers/softpipe/sp_screen.c | |
parent | e809b7a6787e40f974883104606550fb3d53ba47 (diff) |
softpipe: enable clamping control
This enables fragment clamping in softpipe, it passes more
tests than it did previously with no regressions, There are still
a couple of failures in the SNORM types to investigate.
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, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index a9d70f94790..37aa5852f62 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -128,6 +128,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) return 7; case PIPE_CAP_CONDITIONAL_RENDER: return 1; + case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL: + return 1; default: return 0; } |