diff options
author | Marek Olšák <[email protected]> | 2015-08-15 12:46:17 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-08-26 19:25:19 +0200 |
commit | be6dc8777662645958d4be6639ee2bb47c5054d8 (patch) | |
tree | 4d1c2d3f590bd173138843afacce25cb125ae7e4 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | a6a6c68955bb8526aac3c04af96fdfdee71bc8bc (diff) |
radeonsi: save the contents of indirect buffers for debug contexts
This will be used by the IB parser.
Acked-by: Christian König <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 3ab95385d8e..3672fec33a3 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -243,6 +243,11 @@ struct si_context { struct si_shader_selector *last_tcs; int last_num_tcs_input_cp; int last_tes_sh_base; + + /* Debug state. */ + bool is_debug; + uint32_t *last_ib; + unsigned last_ib_dw_size; }; /* cik_sdma.c */ |