tgsi_build: fix order of arguments for ind register build
authorDave Airlie <airlied@redhat.com>
Tue, 13 Aug 2013 00:13:12 +0000 (10:13 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2013 00:41:27 +0000 (10:41 +1000)
This was broken when arrayid was added.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_build.c

index fa18462bed414f910a88b5d5b508426cb9ab26b9..f4add02bef78b9a1f4b477e558c546c7d5607c3b 100644 (file)
@@ -876,8 +876,8 @@ static struct tgsi_ind_register
 tgsi_build_ind_register(
    unsigned file,
    unsigned swizzle,
-   unsigned arrayid,
    int index,
+   unsigned arrayid,
    struct tgsi_instruction *instruction,
    struct tgsi_header *header )
 {