Mesa (master): r300g: Add a few more params.

Corbin Simpson csimpson at kemper.freedesktop.org
Sun Dec 20 23:47:58 UTC 2009


Module: Mesa
Branch: master
Commit: 32d737397c2ac21a553a5557914fa741be89c8a9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32d737397c2ac21a553a5557914fa741be89c8a9

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Sun Dec 20 14:00:34 2009 -0800

r300g: Add a few more params.

---

 src/gallium/drivers/r300/r300_screen.c |    4 ++++
 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 a7ef3db..2a8667d 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);




More information about the mesa-commit mailing list