pan/midgard: Remove texture_index

This is deadcode.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-08-30 11:01:57 -07:00
parent 76529836ec
commit 59f2cfcbc7
2 changed files with 0 additions and 6 deletions

View file

@ -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;

View file

@ -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;