tgsi: Lift the requirement of indirection being done by ADDR register.
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_exec.c
index 428227d735fb4eae219cc909abe978b8123c02b8..1b7150be680e03aab1c4aded38e552e883d02369 100644 (file)
@@ -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,