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