diff options
author | Nicolai Hähnle <[email protected]> | 2016-09-14 09:46:36 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-09-29 11:14:37 +0200 |
commit | 51b57a9b5a42f20e460c9ff34887cddb6c42a9ec (patch) | |
tree | 05fdf880c61a62e5bfc153d2af4dd5262e93f5ef /src/gallium/drivers/radeon/r600_query.h | |
parent | 70f9ca24683f84c04990266c3be3b70947ac6e78 (diff) |
radeonsi: add save_qbo_state
Save compute shader state that will be used for the ARB_query_buffer_object
implementation.
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_query.h')
-rw-r--r-- | src/gallium/drivers/radeon/r600_query.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_query.h b/src/gallium/drivers/radeon/r600_query.h index 0cd1a024028..4f5aa3ac1bf 100644 --- a/src/gallium/drivers/radeon/r600_query.h +++ b/src/gallium/drivers/radeon/r600_query.h @@ -29,6 +29,7 @@ #define R600_QUERY_H #include "pipe/p_defines.h" +#include "pipe/p_state.h" #include "util/list.h" struct pipe_context; @@ -267,4 +268,10 @@ void r600_perfcounters_do_destroy(struct r600_perfcounters *); void r600_query_hw_reset_buffers(struct r600_common_context *rctx, struct r600_query_hw *query); +struct r600_qbo_state { + void *saved_compute; + struct pipe_constant_buffer saved_const0; + struct pipe_shader_buffer saved_ssbo[3]; +}; + #endif /* R600_QUERY_H */ |