summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-12-02 22:36:27 -0700
committerBrian <[email protected]>2008-12-04 09:58:54 -0700
commit7eb8b37735a32768487334664d95e98ad06f48db (patch)
treebe9e60f1ef1b998a6880a7842a369b54ddc98a47 /src/gallium/drivers/softpipe
parent9271662ae9acda08ed6e444d1ee18384eebf8987 (diff)
gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 9644dbd168f..12f98c32f53 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -56,6 +56,8 @@ softpipe_get_param(struct pipe_screen *screen, int param)
switch (param) {
case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
return 8;
+ case PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS:
+ return 8;
case PIPE_CAP_NPOT_TEXTURES:
return 1;
case PIPE_CAP_TWO_SIDED_STENCIL: