diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-30 11:01:57 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-30 15:50:26 -0700 |
commit | 59f2cfcbc7d9da9b9e7c45ccc58c5cdaecbe92e8 (patch) | |
tree | c3a65aba7b9a1c9e4e657496bce93cdeba8494f1 | |
parent | 76529836ecf53c977762283cf944a5c123c2b6db (diff) |
pan/midgard: Remove texture_index
This is deadcode.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r-- | src/panfrost/midgard/compiler.h | 3 | ||||
-rw-r--r-- | src/panfrost/midgard/midgard_compile.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index b63a542e5ad..00c6b52413a 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -268,9 +268,6 @@ typedef struct compiler_context { * Decrease when a tex op is removed. */ int texture_op_count; - /* Mapping of texture register -> SSA index for unaliasing */ - int texture_index[2]; - /* The number of uniforms allowable for the fast path */ int uniform_cutoff; diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 8a0ac08803a..158f89a23c3 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -2294,9 +2294,6 @@ emit_block(compiler_context *ctx, nir_block *block) this_block->is_scheduled = false; ++ctx->block_count; - ctx->texture_index[0] = ~0; - ctx->texture_index[1] = ~0; - /* Set up current block */ list_inithead(&this_block->instructions); ctx->current_block = this_block; |