softpipe: bump the softpipe geometry limits
authorDave Airlie <airlied@redhat.com>
Tue, 10 Jun 2014 04:19:18 +0000 (14:19 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Jun 2014 02:21:08 +0000 (12:21 +1000)
This just aligns the limits with llvmpipe.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_screen.c

index 78517775ecdf87e6bfa4dddc183fd239e42fb8f5..cdbba7ddede8dc29c7aeff5d133b753df7ac8dcf 100644 (file)
@@ -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: