diff options
author | Gurchetan Singh <[email protected]> | 2019-02-05 18:56:30 -0800 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-02-15 11:19:05 +0100 |
commit | d98fbd9c92e1567c3c5d7084ce7d4d2c4b53ce51 (patch) | |
tree | 26ca0be018f1352643fac11e8a752664500411b5 /src/gallium/drivers/virgl/virgl_context.h | |
parent | 35515985a9b82134c2b2f2f501ec45d29f67ec97 (diff) |
virgl: keep track of number of computations
It's good to keep track of these things.
Reviewed-by: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_context.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.h b/src/gallium/drivers/virgl/virgl_context.h index 79a1a73e615..65485475d9d 100644 --- a/src/gallium/drivers/virgl/virgl_context.h +++ b/src/gallium/drivers/virgl/virgl_context.h @@ -79,8 +79,7 @@ struct virgl_context { struct pipe_resource *ssbos[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS]; struct pipe_resource *images[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS]; - int num_transfers; - int num_draws; + uint32_t num_transfers, num_draws, num_compute; struct pipe_resource *atomic_buffers[PIPE_MAX_HW_ATOMIC_BUFFERS]; |