summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-12-20 14:00:34 -0800
committerCorbin Simpson <[email protected]>2009-12-20 14:00:34 -0800
commit65ecbdd49c130fbc790cd37d7c035349c70259a4 (patch)
treed51e4edd50372dc21de09b69bb91b7d97287c614
parent6ba83cd63f84a4d74dd679d62662d59533fd1bdb (diff)
r300g: Add a few more params.
-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 a7ef3dbcc29..2a8667d4835 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -142,6 +142,10 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
return 0;
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
return 1;
+ case PIPE_CAP_SM3:
+ return 1;
+ case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+ return 8;
default:
debug_printf("r300: Implementation error: Bad param %d\n",
param);