From: José Fonseca Date: Tue, 6 Nov 2012 11:38:12 +0000 (+0000) Subject: tgsi: Lift the requirement of indirection being done by ADDR register. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5f0ae0bd8cbaf1bb5c87929681ea6bd83e8d834;p=mesa.git tgsi: Lift the requirement of indirection being done by ADDR register. For drivers with native integer / SM4 support this is just an hindrance. Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 428227d735f..1b7150be680 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( ®->Indirect, TGSI_CHAN_X ); fetch_src_file_channel(mach,