diff options
author | Kenneth Graunke <[email protected]> | 2019-04-01 23:28:06 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-04-04 11:41:10 -0700 |
commit | 8d9e169bdd46c028fd14af90bfb1be40e744c31a (patch) | |
tree | fa2f9a8fcfc14e4acfe56644de7e819eabb2bf96 /src/gallium/drivers/iris/iris_context.h | |
parent | d1dd3cbcc766a70ec3b193201299792566c6b69a (diff) |
iris: Save/restore MI_PREDICATE_RESULT, not MI_PREDICATE_DATA.
MI_PREDICATE_DATA is an intermediate storage for the MI_PREDICATE
command's calculations - it holds the result of the subtraction when
the compare operation is SRCS_EQUAL or DELTAS_EQUAL. But the actual
result of the predication is MI_PREDICATE_RESULT, which is what we
want to copy from the render context to the compute context.
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 494c931d0f0..51b40f30cb8 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -598,7 +598,7 @@ struct iris_context { enum iris_predicate_state predicate; /** - * Query BO with a MI_PREDICATE_DATA snapshot calculated on the + * Query BO with a MI_PREDICATE_RESULT snapshot calculated on the * render context that needs to be uploaded to the compute context. */ struct iris_bo *compute_predicate; |