mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
anv: Fix typo when checking if async rt scratch size changed
Current stack size is stored in layout.sw_stack_size, but the function thats supposed to update it is comparing layout.total_size instead. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> CC: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38898>
This commit is contained in:
parent
b393518bdf
commit
0b3f0d1662
1 changed files with 1 additions and 1 deletions
|
|
@ -1305,7 +1305,7 @@ anv_cmd_buffer_set_stack_size(struct vk_command_buffer *vk_cmd_buffer,
|
|||
if (stack_size_log2 < 10)
|
||||
stack_size_log2 = 10;
|
||||
|
||||
if (rt->scratch.layout.total_size == 1 << stack_size_log2)
|
||||
if (rt->scratch.layout.sw_stack_size == 1 << stack_size_log2)
|
||||
return;
|
||||
|
||||
brw_rt_compute_scratch_layout(&rt->scratch.layout, device->info,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue