diff options
author | Brian Paul <[email protected]> | 2010-02-22 08:14:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-22 08:14:14 -0700 |
commit | 2467354842d7118efff73165ddaaf4c519b41e46 (patch) | |
tree | 13ffbd960ced452716a29bb44ca447d846a4feb3 /src | |
parent | 98e2f6c38bede8373fbf51981ccf6b513ac3695c (diff) |
i965g: added missing texture cap queries
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i965/brw_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_screen.c b/src/gallium/drivers/i965/brw_screen.c index 184cd490e55..b03a782a2f6 100644 --- a/src/gallium/drivers/i965/brw_screen.c +++ b/src/gallium/drivers/i965/brw_screen.c @@ -153,6 +153,10 @@ brw_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_MAX_COMBINED_SAMPLERS: + return 16; /* XXX correct? */ case PIPE_CAP_NPOT_TEXTURES: return 1; case PIPE_CAP_TWO_SIDED_STENCIL: |