Mesa (master): softpipe: enable instanced drawing cap

Brian Paul brianp at kemper.freedesktop.org
Sat Jan 15 17:25:56 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec  8 19:02:43 2010 -0700

softpipe: enable instanced drawing cap

---

 src/gallium/drivers/softpipe/sp_screen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 5f171d3..9b54bab 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -123,6 +123,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
       return 0;
    case PIPE_CAP_SHADER_STENCIL_EXPORT:
       return 1;
+   case PIPE_CAP_INSTANCED_DRAWING:
+      return 1;
    default:
       return 0;
    }




More information about the mesa-commit mailing list