radv: Kill unused fs_m local var in radv_create_shaders()

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17186>
This commit is contained in:
Boris Brezillon
2022-06-22 23:27:43 +02:00
committed by Marge Bot
parent 02384ca13c
commit d2bb3b11e5

View File

@@ -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;