From: Brian Paul Date: Wed, 26 Jan 2011 23:22:30 +0000 (-0700) Subject: tgsi: add cases for array textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8697dbdfbcb6c5cf256658ed6cb2277040b586d2;p=mesa.git tgsi: add cases for array textures Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555 --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index 3f2cda860e0..92ba8b8f033 100644 --- 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: