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:

committed by
Marge Bot

parent
02384ca13c
commit
d2bb3b11e5
@@ -4648,7 +4648,6 @@ radv_create_shaders(struct radv_pipeline *pipeline, struct radv_pipeline_layout
|
|||||||
uint32_t *num_stack_sizes,
|
uint32_t *num_stack_sizes,
|
||||||
gl_shader_stage *last_vgt_api_stage)
|
gl_shader_stage *last_vgt_api_stage)
|
||||||
{
|
{
|
||||||
struct vk_shader_module fs_m = {0};
|
|
||||||
const char *noop_fs_entrypoint = "noop_fs";
|
const char *noop_fs_entrypoint = "noop_fs";
|
||||||
struct radv_shader_binary *binaries[MESA_VULKAN_SHADER_STAGES] = {NULL};
|
struct radv_shader_binary *binaries[MESA_VULKAN_SHADER_STAGES] = {NULL};
|
||||||
struct radv_shader_binary *gs_copy_binary = 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:
|
done:
|
||||||
pipeline_feedback.duration = os_time_get_nano() - pipeline_start;
|
pipeline_feedback.duration = os_time_get_nano() - pipeline_start;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user