projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe0185
)
tgsi: add cases for array textures
author
Brian Paul
<brianp@vmware.com>
Wed, 26 Jan 2011 23:22:30 +0000
(16:22 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 26 Jan 2011 23:22:32 +0000
(16:22 -0700)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555
src/gallium/auxiliary/tgsi/tgsi_sse2.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_sse2.c
b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index 3f2cda860e0790ea08281df97473cf4b20afcb66..92ba8b8f033225fa008c9c3b558acc4aec4bd894 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_sse2.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_sse2.c
@@
-1514,6
+1514,7
@@
emit_tex( struct x86_function *func,
break;
case TGSI_TEXTURE_2D:
case TGSI_TEXTURE_RECT:
+ case TGSI_TEXTURE_1D_ARRAY:
count = 2;
break;
case TGSI_TEXTURE_SHADOW1D:
@@
-1521,6
+1522,7
@@
emit_tex( struct x86_function *func,
case TGSI_TEXTURE_SHADOWRECT:
case TGSI_TEXTURE_3D:
case TGSI_TEXTURE_CUBE:
+ case TGSI_TEXTURE_2D_ARRAY:
count = 3;
break;
default: