aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-01-28 13:39:13 -0800
committerCorbin Simpson <[email protected]>2010-01-28 13:39:47 -0800
commit00873227292df458b28249d7c3736d633e619dab (patch)
treefcd854660b4564918123c8a610d33d7a45b00722 /src/gallium/drivers/r300/r300_screen.c
parent2e481e9fad946ffb0e3121a2e9d3531e131da0ec (diff)
r300g: Clean up blend masks, change caps.
progs/tests/drawbuffers should work, except I can't test it. GG new shader parser. GG.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index b8fbf03d3a9..679a5644afd 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -113,6 +113,9 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
* ~ C.
*/
return 1;
+ case PIPE_CAP_DUAL_SOURCE_BLEND:
+ /* XXX need to figure out how to do it */
+ return 0;
case PIPE_CAP_ANISOTROPIC_FILTER:
return 1;
case PIPE_CAP_POINT_SPRITE:
@@ -150,6 +153,7 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
return 0;
}
case PIPE_CAP_INDEP_BLEND_ENABLE:
+ return 1;
case PIPE_CAP_INDEP_BLEND_FUNC:
return 0;
default: