I already fixed this in commit 460a4444e8a11a33340a979c7e0721f76e63a990
-Brian On 03/21/2013 12:39 PM, Rob Clark wrote:
The recently added tgsi_declaration::Array field was not being initialized to zero, resulting in nonsense shaders like: FRAG PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1 DCL IN[0], ARRAY(48), GENERIC[0], CONSTANT -> DCL NULL[1..0]. 0: MOV OUT[0], IN[0] 1: END Signed-off-by: Rob Clark<robdcl...@gmail.com> --- src/gallium/auxiliary/tgsi/tgsi_build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index 435d94a..2e49671 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_build.c +++ b/src/gallium/auxiliary/tgsi/tgsi_build.c @@ -109,6 +109,7 @@ tgsi_default_declaration( void ) declaration.Semantic = 0; declaration.Invariant = 0; declaration.Local = 0; + declaration.Array = 0; declaration.Padding = 0; return declaration;
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev