summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-22 08:14:05 -0700
committerBrian Paul <brianp@vmware.com>2010-02-22 08:14:05 -0700
commit98e2f6c38bede8373fbf51981ccf6b513ac3695c (patch)
tree18e24b5f6ea76083a7bb501ee292e03f6e459c71
parentcfdd1ca69521446b5d937d95e7d8bfb27f6d68eb (diff)
i915g: added missing texture cap queries
-rw-r--r--src/gallium/drivers/i915/i915_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index c450854c98..b1d754dc4e 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -95,6 +95,10 @@ i915_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 0;
+ case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+ return 8;
case PIPE_CAP_NPOT_TEXTURES:
return 1;
case PIPE_CAP_TWO_SIDED_STENCIL: