mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 05:10:36 +02:00
anv: Release correct bo for RT scratch
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33850>
This commit is contained in:
parent
8fb80834ed
commit
08483e9bfa
1 changed files with 1 additions and 1 deletions
|
|
@ -1453,7 +1453,7 @@ void anv_CmdSetRayTracingPipelineStackSizeKHR(
|
|||
|
||||
bo = p_atomic_cmpxchg(&device->rt_scratch_bos[bucket], NULL, new_bo);
|
||||
if (bo != NULL) {
|
||||
anv_device_release_bo(device, bo);
|
||||
anv_device_release_bo(device, new_bo);
|
||||
} else {
|
||||
bo = new_bo;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue