From: Corbin Simpson Date: Sun, 20 Dec 2009 22:00:34 +0000 (-0800) Subject: r300g: Add a few more params. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65ecbdd49c130fbc790cd37d7c035349c70259a4;p=mesa.git r300g: Add a few more params. --- 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);