~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/virtio/vulkan/vn_query_pool.h

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
#include "vn_common.h"
15
15
 
 
16
struct vn_feedback_buffer;
 
17
 
16
18
struct vn_query_pool {
17
19
   struct vn_object_base base;
18
20
 
19
21
   VkAllocationCallbacks allocator;
 
22
 
 
23
   /* non-NULL if VN_PERF_NO_QUERY_FEEDBACK is disabled */
 
24
   struct vn_feedback_buffer *feedback;
20
25
   uint32_t result_array_size;
 
26
   bool saturate_on_overflow;
21
27
};
22
28
VK_DEFINE_NONDISP_HANDLE_CASTS(vn_query_pool,
23
29
                               base.base,