Mesa (master): softpipe & llvmpipe: Enable SM3 cap

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Apr 29 16:02:31 UTC 2010


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

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Thu Apr 29 16:18:43 2010 +0100

softpipe & llvmpipe: Enable SM3 cap

---

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

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 00a897c..111eedc 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -97,6 +97,8 @@ llvmpipe_get_param(struct pipe_screen *screen, int param)
       return 1;
    case PIPE_CAP_GLSL:
       return 1;
+   case PIPE_CAP_SM3:
+      return 1;
    case PIPE_CAP_ANISOTROPIC_FILTER:
       return 0;
    case PIPE_CAP_POINT_SPRITE:
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 11aa0c4..8bb0294 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -71,6 +71,8 @@ softpipe_get_param(struct pipe_screen *screen, int param)
       return 1;
    case PIPE_CAP_GLSL:
       return 1;
+   case PIPE_CAP_SM3:
+      return 1;
    case PIPE_CAP_ANISOTROPIC_FILTER:
       return 0;
    case PIPE_CAP_POINT_SPRITE:




More information about the mesa-commit mailing list