llvmpipe: vertex shader textures not supported yet
authorBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 17:43:30 +0000 (10:43 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 17:44:01 +0000 (10:44 -0700)
src/gallium/drivers/llvmpipe/lp_screen.c

index 1950f1413588b6a871d57fcf141737d96fe470cd..89869faeb9275e2f05b5d14e77285177d0ed3db4 100644 (file)
@@ -83,7 +83,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_VERTEX_SAMPLERS;
+      return 0;
    case PIPE_CAP_MAX_COMBINED_SAMPLERS:
       return PIPE_MAX_SAMPLERS + PIPE_MAX_VERTEX_SAMPLERS;
    case PIPE_CAP_NPOT_TEXTURES: