diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index f0ef432d06d..a5fe0cc3ebb 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -4648,7 +4648,6 @@ radv_create_shaders(struct radv_pipeline *pipeline, struct radv_pipeline_layout uint32_t *num_stack_sizes, gl_shader_stage *last_vgt_api_stage) { - struct vk_shader_module fs_m = {0}; const char *noop_fs_entrypoint = "noop_fs"; struct radv_shader_binary *binaries[MESA_VULKAN_SHADER_STAGES] = {NULL}; struct radv_shader_binary *gs_copy_binary = NULL; @@ -5052,9 +5051,6 @@ radv_create_shaders(struct radv_pipeline *pipeline, struct radv_pipeline_layout } } - if (fs_m.nir) - ralloc_free(fs_m.nir); - done: pipeline_feedback.duration = os_time_get_nano() - pipeline_start;