radeon: implement r600_query_hw_get_result via function pointers
We will need the clear_result override for the batch query implementation. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -83,6 +83,10 @@ struct r600_query_hw_ops {
|
||||
void (*emit_stop)(struct r600_common_context *,
|
||||
struct r600_query_hw *,
|
||||
struct r600_resource *buffer, uint64_t va);
|
||||
void (*clear_result)(struct r600_query_hw *, union pipe_query_result *);
|
||||
void (*add_result)(struct r600_common_context *ctx,
|
||||
struct r600_query_hw *, void *buffer,
|
||||
union pipe_query_result *result);
|
||||
};
|
||||
|
||||
struct r600_query_buffer {
|
||||
|
Reference in New Issue
Block a user