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 <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
7e112c604e
commit
e5f0ae0bd8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue