summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_screen.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-01-25 20:20:52 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-01-25 20:20:52 +0100
commitdf4395198ce433251c8bd2d497543c7b389e5aca (patch)
tree2a0125eec5731c6d8257f7bcdfc752490f87db92 /src/gallium/drivers/softpipe/sp_screen.c
parent5fae36147e1067ac8b1eb5bcade2f9b1dbf29aa4 (diff)
softpipe: enable new blend functionality
works with tests/drawbuffers2
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index bd3532de4f..e36f9ec5da 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -91,6 +91,10 @@ softpipe_get_param(struct pipe_screen *screen, int param)
return 1;
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
return 1;
+ case PIPE_CAP_INDEP_BLEND_ENABLE:
+ return 1;
+ case PIPE_CAP_INDEP_BLEND_FUNC:
+ return 1;
default:
return 0;
}