[Mesa-dev] [PATCH 04/11] tgsi: Lift the requirement of indirection being done by ADDR register.

jfonseca at vmware.com jfonseca at vmware.com
Wed Nov 7 07:26:16 PST 2012


From: José Fonseca <jfonseca at vmware.com>

For drivers with native integer / SM4 support this is just an hindrance.
---
 src/gallium/auxiliary/tgsi/tgsi_exec.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 0b58f09..05bf070 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -1213,7 +1213,6 @@ fetch_source(const struct tgsi_exec_machine *mach,
       index2.i[1] =
       index2.i[2] =
       index2.i[3] = reg->Indirect.Index;
-      assert(reg->Indirect.File == TGSI_FILE_ADDRESS);
       /* get current value of address register[swizzle] */
       swizzle = tgsi_util_get_src_register_swizzle( &reg->Indirect, TGSI_CHAN_X );
       fetch_src_file_channel(mach,
-- 
1.7.9.5



More information about the mesa-dev mailing list