Lines Matching refs:buffer
173 void (*emit_start)(struct si_context *, struct si_query_hw *, struct si_resource *buffer,
175 void (*emit_stop)(struct si_context *, struct si_query_hw *, struct si_resource *buffer,
178 void (*add_result)(struct si_screen *screen, struct si_query_hw *, void *buffer,
183 /* The buffer where query results are stored. */
185 /* If a query buffer is full, a new buffer is created and the old one
194 void si_query_buffer_destroy(struct si_screen *sctx, struct si_query_buffer *buffer);
195 void si_query_buffer_reset(struct si_context *sctx, struct si_query_buffer *buffer);
196 bool si_query_buffer_alloc(struct si_context *sctx, struct si_query_buffer *buffer,
205 /* The query buffer and how many results are in it. */
206 struct si_query_buffer buffer;
235 * The query buffer is written to by ESGS NGG shaders with statistics about
247 /* Offset into the buffer in bytes; points at the first un-emitted entry. */
251 /* Memory layout of the query buffer. Must be kept in sync with shaders