Mesa (master): r300g: disable stream output on SWTCL chipsets

Marek Olšák mareko at kemper.freedesktop.org
Fri Oct 7 15:49:50 PDT 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Oct  6 18:29:02 2011 +0200

r300g: disable stream output on SWTCL chipsets

Unimplemented and not so useful for this driver.

---

 src/gallium/drivers/r300/r300_screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 6a64a79..19489bd 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -145,10 +145,10 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_SCALED_RESOLVE:
         case PIPE_CAP_MIN_TEXEL_OFFSET:
         case PIPE_CAP_MAX_TEXEL_OFFSET:
+        case PIPE_CAP_STREAM_OUTPUT:
             return 0;
 
         /* SWTCL-only features. */
-        case PIPE_CAP_STREAM_OUTPUT:
         case PIPE_CAP_PRIMITIVE_RESTART:
             return !r300screen->caps.has_tcl;
 



More information about the mesa-commit mailing list