Mesa (master): softpipe: bump the softpipe geometry limits

Dave Airlie airlied at kemper.freedesktop.org
Wed Jun 11 02:21:38 UTC 2014


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jun 10 14:19:18 2014 +1000

softpipe: bump the softpipe geometry limits

This just aligns the limits with llvmpipe.

Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/drivers/softpipe/sp_screen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 7851777..cdbba7d 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -119,7 +119,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
       return 16*4;
    case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES:
    case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
-      return 0;
+      return 1024;
    case PIPE_CAP_PRIMITIVE_RESTART:
       return 1;
    case PIPE_CAP_SHADER_STENCIL_EXPORT:




More information about the mesa-commit mailing list