iris: Load 32-bit MMIO PREDICATE register from buffer
We are writing 32-bit register value to buffer and were reading back 64-bit value back into two register. We don't need to read the second register in this case. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29389>
This commit is contained in:
@@ -452,7 +452,7 @@ iris_launch_grid(struct pipe_context *ctx, const struct pipe_grid_info *grid)
|
||||
batch->screen->vtbl.update_binder_address(batch, &ice->state.binder);
|
||||
|
||||
if (ice->state.compute_predicate) {
|
||||
batch->screen->vtbl.load_register_mem64(batch, MI_PREDICATE_RESULT,
|
||||
batch->screen->vtbl.load_register_mem32(batch, MI_PREDICATE_RESULT,
|
||||
ice->state.compute_predicate, 0);
|
||||
ice->state.compute_predicate = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user