mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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>
(cherry picked from commit fee9230bb5)
This commit is contained in:
parent
855bc8242a
commit
de59c4b553
2 changed files with 3 additions and 2 deletions
|
|
@ -364,7 +364,7 @@
|
|||
"description": "iris/xe: fix compute shader start address",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue