radv: compile rt_prolog
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 21 Feb 2023 14:02:31 +0000 (15:02 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Mar 2023 01:40:30 +0000 (01:40 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21780>

src/amd/vulkan/radv_pipeline_rt.c

index 860aa3d..d22bfa2 100644 (file)
@@ -642,6 +642,7 @@ radv_rt_pipeline_create(VkDevice _device, VkPipelineCache _cache,
    radv_compute_pipeline_init(&rt_pipeline->base, pipeline_layout);
 
    rt_pipeline->stack_size = compute_rt_stack_size(pCreateInfo, rt_pipeline->groups);
+   rt_pipeline->base.base.shaders[MESA_SHADER_COMPUTE] = radv_create_rt_prolog(device);
 
    *pPipeline = radv_pipeline_to_handle(&rt_pipeline->base.base);