freedreno: Assert that TF prims generated can ignore active_queries.
We won't ever be in a meta path with transform feedback enabled, so we don't need to pay attention to the flag here. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9687>
This commit is contained in:
@@ -250,8 +250,10 @@ update_draw_stats(struct fd_context *ctx, const struct pipe_draw_info *info,
|
||||
* use ir3 so no common way to get at the pipe_stream_output_info
|
||||
* which is needed for this calculation.
|
||||
*/
|
||||
if (ctx->streamout.num_targets > 0)
|
||||
if (ctx->streamout.num_targets > 0) {
|
||||
assert(ctx->active_queries);
|
||||
ctx->stats.prims_emitted += prims;
|
||||
}
|
||||
ctx->stats.prims_generated += prims;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user