Mesa (master): r300g: clean up warning due to unknown cap.

Dave Airlie airlied at kemper.freedesktop.org
Thu Oct 14 22:46:34 UTC 2010


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Oct 15 08:46:16 2010 +1000

r300g: clean up warning due to unknown cap.

---

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

diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 7f41ff0..b448924 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -124,6 +124,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_INDEP_BLEND_FUNC:
         case PIPE_CAP_DEPTH_CLAMP: /* XXX implemented, but breaks Regnum Online */
         case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
+        case PIPE_CAP_SHADER_STENCIL_EXPORT:
             return 0;
 
         /* Texturing. */




More information about the mesa-commit mailing list