diff --git a/.pick_status.json b/.pick_status.json index 2831b039917..a3ec6f3c6e3 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -614,7 +614,7 @@ "description": "anv: Fix typo when checking if async rt scratch size changed", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index e80b4c5c70f..d662dac2021 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -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,