projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e2f6c
)
i965g: added missing texture cap queries
author
Brian Paul
<brianp@vmware.com>
Mon, 22 Feb 2010 15:14:14 +0000
(08:14 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 22 Feb 2010 15:14:14 +0000
(08:14 -0700)
src/gallium/drivers/i965/brw_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_screen.c
b/src/gallium/drivers/i965/brw_screen.c
index 184cd490e55f0a6ce8f5d3bc4c36ffbf884be586..b03a782a2f61e860e235cc3a8d05223589938a82 100644
(file)
--- 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: