iris: Enable INTEL_MEASURE for compute dispatches on XeHP

Cc: mesa-stable
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19324>
This commit is contained in:
Nanley Chery
2022-10-26 08:12:52 -07:00
committed by Marge Bot
parent a41c0b58aa
commit 48844910a3

View File

@@ -7233,6 +7233,8 @@ iris_upload_compute_walker(struct iris_context *ice,
if (grid->indirect)
iris_load_indirect_location(ice, batch, grid);
iris_measure_snapshot(ice, batch, INTEL_SNAPSHOT_COMPUTE, NULL, NULL, NULL);
iris_emit_cmd(batch, GENX(COMPUTE_WALKER), cw) {
cw.IndirectParameterEnable = grid->indirect;
cw.SIMDSize = dispatch.simd_size / 16;