Mesa (main): blorp: Assert that BLORP_BATCH_PREDICATE_ENABLE isn't set for compute
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Nov 30 12:47:56 UTC 2021
Module: Mesa
Branch: main
Commit: f0744ebef2395807ee10af1c133898374e1e08d1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0744ebef2395807ee10af1c133898374e1e08d1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Oct 4 16:06:05 2021 -0700
blorp: Assert that BLORP_BATCH_PREDICATE_ENABLE isn't set for compute
We don't support this, so make sure it isn't happening.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13524>
---
src/intel/blorp/blorp_genX_exec.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index daa5f96906c..64d653884e5 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -2098,6 +2098,7 @@ static void
blorp_exec_compute(struct blorp_batch *batch, const struct blorp_params *params)
{
assert(!(batch->flags & BLORP_BATCH_NO_UPDATE_CLEAR_COLOR));
+ assert(!(batch->flags & BLORP_BATCH_PREDICATE_ENABLE));
assert(params->hiz_op == ISL_AUX_OP_NONE);
#if GFX_VER >= 7
More information about the mesa-commit
mailing list