summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-01-30 12:33:44 -0800
committerCorbin Simpson <[email protected]>2010-01-30 12:33:44 -0800
commitb6ac2403aca240c72c8622ddbc3a4e123d5aa37f (patch)
treef9567ee9850338bef3fab52d87f28e31736ffc19 /src/gallium/drivers/r300/r300_screen.c
parent627a45848faf9e6d19d386b9eb30d36bf18d0998 (diff)
r300g: Independent blend enables only work on r500.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index ae3155c0ed1..fa8ed581dae 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -152,7 +152,11 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
return 0;
}
case PIPE_CAP_INDEP_BLEND_ENABLE:
- return 1;
+ if (r300screen->caps->is_r500) {
+ return 1;
+ } else {
+ return 0;
+ }
case PIPE_CAP_INDEP_BLEND_FUNC:
return 0;
case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: