diff options
author | Kenneth Graunke <[email protected]> | 2018-04-06 16:21:21 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:05 -0800 |
commit | 65073c221770121253d6ec8ac9a323a36fce3b10 (patch) | |
tree | 023b0bf21267e65f817f86af0734d4b736ff3db5 /src/gallium/drivers/iris/iris_batch.h | |
parent | 6cbd1d16921c5336e87e7d954e7ac6da67749ba9 (diff) |
iris: hook up batch decoder
Diffstat (limited to 'src/gallium/drivers/iris/iris_batch.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_batch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.h b/src/gallium/drivers/iris/iris_batch.h index 492d95e7c99..68a10741f32 100644 --- a/src/gallium/drivers/iris/iris_batch.h +++ b/src/gallium/drivers/iris/iris_batch.h @@ -26,6 +26,7 @@ #include <stdint.h> #include <stdbool.h> +#include "common/gen_decoder.h" /* The kernel assumes batchbuffers are smaller than 256kB. */ #define MAX_BATCH_SIZE (256 * 1024) @@ -77,8 +78,12 @@ struct iris_batch { /** The amount of aperture space (in bytes) used by all exec_bos */ int aperture_space; +#if DEBUG /** 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; +#endif void (*emit_state_base_address)(struct iris_batch *batch); }; |