From 0bc2aed90fdfcedad501f769cbd2ae61b5a0ecb8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 1 Aug 2014 17:11:38 -0700 Subject: vc4: Add a bunch of validation of the binning mode config. --- src/gallium/drivers/vc4/vc4_simulator_validate.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gallium/drivers/vc4/vc4_simulator_validate.h') diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.h b/src/gallium/drivers/vc4/vc4_simulator_validate.h index 1f3d23f881e..d26f0d6f8c0 100644 --- a/src/gallium/drivers/vc4/vc4_simulator_validate.h +++ b/src/gallium/drivers/vc4/vc4_simulator_validate.h @@ -119,6 +119,12 @@ struct exec_info { /** How many shader state records the validator has seen. */ uint32_t shader_state_count; + bool found_tile_binning_mode_config_packet; + bool found_start_tile_binning_packet; + uint8_t bin_tiles_x, bin_tiles_y; + uint32_t tile_alloc_init_block_size; + struct drm_gem_cma_object *tile_alloc_bo; + /** * Computed addresses pointing into exec_bo where we start the * bin thread (ct0) and render thread (ct1). -- cgit v1.2.3