summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_sanity.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-01-18 14:01:40 +0100
committerMichal Krol <[email protected]>2010-01-18 19:13:45 +0100
commit463351ea6c953c3db7f135ba97160a212562daef (patch)
tree726d0a2de7ad8bbf02f3e81c93788986a54e11bc /src/gallium/auxiliary/tgsi/tgsi_sanity.c
parent4698a865e076998107c188b39db039bdcbaac3a9 (diff)
tgsi: Allow TEMPORARY registers as indirect address into source operands.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_sanity.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_sanity.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/tgsi_sanity.c
index e1e4f97967d..8bea457a639 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sanity.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_sanity.c
@@ -335,10 +335,6 @@ iter_instruction(
fill_scan_register1d(ind_reg,
inst->Src[i].Indirect.File,
inst->Src[i].Indirect.Index);
- if (!(ind_reg->file == TGSI_FILE_ADDRESS || ind_reg->file == TGSI_FILE_LOOP) ||
- ind_reg->indices[0] != 0) {
- report_warning(ctx, "Indirect register neither ADDR[0] nor LOOP[0]");
- }
check_register_usage(
ctx,
ind_reg,