mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
gallium: add new numeric types to pipe_query_result
This will be used by GL_AMD_performance_monitor. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Martin Peres <martin.peres@free.fr>
This commit is contained in:
parent
b620829b5e
commit
d5b2832c11
1 changed files with 8 additions and 0 deletions
|
|
@ -733,8 +733,16 @@ union pipe_query_result
|
|||
/* PIPE_QUERY_TIME_ELAPSED */
|
||||
/* PIPE_QUERY_PRIMITIVES_GENERATED */
|
||||
/* PIPE_QUERY_PRIMITIVES_EMITTED */
|
||||
/* PIPE_DRIVER_QUERY_TYPE_UINT64 */
|
||||
uint64_t u64;
|
||||
|
||||
/* PIPE_DRIVER_QUERY_TYPE_UINT */
|
||||
uint32_t u32;
|
||||
|
||||
/* PIPE_DRIVER_QUERY_TYPE_FLOAT */
|
||||
/* PIPE_DRIVER_QUERY_TYPE_PERCENTAGE */
|
||||
float f;
|
||||
|
||||
/* PIPE_QUERY_SO_STATISTICS */
|
||||
struct pipe_query_data_so_statistics so_statistics;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue