iris/xe: fix compute shader start address

It needs to apply the offset so it selects the correct SIMD shader.

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34548>
This commit is contained in:
Karol Herbst
2025-04-16 11:10:27 +02:00
committed by Marge Bot
parent 57ccfd0502
commit fee9230bb5
+2 -1
View File
@@ -9108,7 +9108,8 @@ iris_upload_compute_walker(struct iris_context *ice,
}
struct GENX(INTERFACE_DESCRIPTOR_DATA) idd = {};
idd.KernelStartPointer = KSP(shader);
idd.KernelStartPointer =
KSP(shader) + iris_cs_data_prog_offset(cs_data, dispatch.simd_size);
idd.NumberofThreadsinGPGPUThreadGroup = dispatch.threads;
idd.SharedLocalMemorySize =
intel_compute_slm_encode_size(GFX_VER, shader->total_shared);