llvmpipe: return 0 for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query
authorBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 19:19:31 +0000 (12:19 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 19:19:33 +0000 (12:19 -0700)
The driver (and draw module) don't support vertex shader textures yet.

src/gallium/drivers/llvmpipe/lp_screen.c

index 0fb133486aa225a3f8b83349dd72f5e06a327f78..a6ecaa0b2bea83d84c9763fc6d2486bce35f0ffd 100644 (file)
@@ -59,7 +59,7 @@ llvmpipe_get_param(struct pipe_screen *screen, int param)
    case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
       return PIPE_MAX_SAMPLERS;
    case PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS:
-      return PIPE_MAX_SAMPLERS;
+      return 0;
    case PIPE_CAP_NPOT_TEXTURES:
       return 1;
    case PIPE_CAP_TWO_SIDED_STENCIL: