summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-12-20 14:00:34 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-12-20 15:47:48 -0800
commit32d737397c2ac21a553a5557914fa741be89c8a9 (patch)
treeb049b9e94923429e0521bc86ada2a1b22fae1f75
parent55c43ee3158e5e83dcf51a7d6eaa35d4314c0833 (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);