From b288ec803ca6eab6f37e3d64335abd98632e0f75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Sch=C3=BCrmann?= Date: Mon, 17 Apr 2023 15:08:30 +0200 Subject: [PATCH] radv/rt: fix total stack size computation Fixes: 2649a1f272cea69b73364d06a3dad21415921056 ('radv/rt: introduce and set rt_pipeline->stack_size ') Part-of: --- src/amd/vulkan/radv_pipeline_rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_pipeline_rt.c b/src/amd/vulkan/radv_pipeline_rt.c index fb061b6..d1e6ebe 100644 --- a/src/amd/vulkan/radv_pipeline_rt.c +++ b/src/amd/vulkan/radv_pipeline_rt.c @@ -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, -- 2.7.4