From: Brian Paul Date: Mon, 22 Feb 2010 15:14:05 +0000 (-0700) Subject: i915g: added missing texture cap queries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98e2f6c38bede8373fbf51981ccf6b513ac3695c;p=mesa.git i915g: added missing texture cap queries --- diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index c450854c982..b1d754dc4eb 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: