From e092ed9213c830656a77b8a87db6991819600d5b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 23 Jan 2019 17:03:54 -0800 Subject: iris: Drop dead state_size hash table I inherited this from i965. It would be nice to track the state size so INTEL_DEBUG=color,bat decoding can print the right number of e.g. binding table entries or blend states, but...without a single point of entry for state, it's a little tricky to get right. Punt for now, and drop the dead code in the meantime. --- src/gallium/drivers/iris/iris_batch.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/drivers/iris/iris_batch.h') diff --git a/src/gallium/drivers/iris/iris_batch.h b/src/gallium/drivers/iris/iris_batch.h index 32434e80749..d398c3c473e 100644 --- a/src/gallium/drivers/iris/iris_batch.h +++ b/src/gallium/drivers/iris/iris_batch.h @@ -118,9 +118,6 @@ struct iris_batch { struct set *depth; } cache; - /** Map from batch offset to iris_alloc_state data (with DEBUG_BATCH) */ - // XXX: unused - struct hash_table *state_sizes; struct gen_batch_decode_ctx decoder; /** Have we emitted any draw calls to this batch? */ -- cgit v1.2.3