d3d12: Predication fix: re-enable after restarting a batch if needed

Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14486>
This commit is contained in:
Jesse Natalie
2022-01-10 09:38:43 -08:00
committed by Marge Bot
parent 9609387a4f
commit 934dc7b6a0
@@ -187,6 +187,8 @@ d3d12_start_batch(struct d3d12_context *ctx, struct d3d12_batch *batch)
if (!ctx->queries_disabled)
d3d12_resume_queries(ctx);
if (ctx->current_predication)
d3d12_enable_predication(ctx);
}
void