mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 10:00:14 +01:00
iris: Fix compute scratch pinning
Thanks to Eero Tamminen for helping catch this.
This commit is contained in:
parent
3ab3aa23c2
commit
73709be0c3
1 changed files with 1 additions and 2 deletions
|
|
@ -4713,9 +4713,8 @@ iris_upload_compute_state(struct iris_context *ice,
|
|||
struct iris_bo *bo =
|
||||
iris_get_scratch_space(ice, prog_data->total_scratch,
|
||||
MESA_SHADER_COMPUTE);
|
||||
uint32_t scratch_addr = bo->gtt_offset;
|
||||
vfe.PerThreadScratchSpace = ffs(prog_data->total_scratch) - 11;
|
||||
vfe.ScratchSpaceBasePointer = rw_bo(NULL, scratch_addr);
|
||||
vfe.ScratchSpaceBasePointer = rw_bo(bo, 0);
|
||||
}
|
||||
|
||||
vfe.MaximumNumberofThreads =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue