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>
(cherry picked from commit 48844910a3
)
This commit is contained in:

committed by
Dylan Baker

parent
e3a5a7683d
commit
ca30a3df24
@@ -2038,7 +2038,7 @@
|
|||||||
"description": "iris: Enable INTEL_MEASURE for compute dispatches on XeHP",
|
"description": "iris: Enable INTEL_MEASURE for compute dispatches on XeHP",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 0,
|
"nomination_type": 0,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": null
|
"because_sha": null
|
||||||
},
|
},
|
||||||
|
@@ -7117,6 +7117,8 @@ iris_upload_compute_walker(struct iris_context *ice,
|
|||||||
if (grid->indirect)
|
if (grid->indirect)
|
||||||
iris_load_indirect_location(ice, batch, grid);
|
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) {
|
iris_emit_cmd(batch, GENX(COMPUTE_WALKER), cw) {
|
||||||
cw.IndirectParameterEnable = grid->indirect;
|
cw.IndirectParameterEnable = grid->indirect;
|
||||||
cw.SIMDSize = dispatch.simd_size / 16;
|
cw.SIMDSize = dispatch.simd_size / 16;
|
||||||
|
Reference in New Issue
Block a user