radv/rt: fix total stack size computation

Fixes: 2649a1f272 ('radv/rt: introduce and set rt_pipeline->stack_size ')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22526>
(cherry picked from commit b288ec803c)
This commit is contained in:
Daniel Schürmann 2023-04-17 15:08:30 +02:00 committed by Eric Engestrom
parent c3f69d784e
commit 1ae2c1ae9c
2 changed files with 2 additions and 2 deletions

View file

@ -715,7 +715,7 @@
"description": "radv/rt: fix total stack size computation",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "2649a1f272cea69b73364d06a3dad21415921056"
},

View file

@ -584,7 +584,7 @@ radv_rt_pipeline_create(VkDevice _device, VkPipelineCache _cache,
goto shader_fail;
}
rt_pipeline->stack_size = compute_rt_stack_size(pCreateInfo, rt_pipeline->groups);
rt_pipeline->stack_size = compute_rt_stack_size(&local_create_info, rt_pipeline->groups);
rt_pipeline->base.base.shaders[MESA_SHADER_COMPUTE] = radv_create_rt_prolog(device);
combine_config(&rt_pipeline->base.base.shaders[MESA_SHADER_COMPUTE]->config,