broadcom/compiler: trivial code clean-up

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18883>
This commit is contained in:
Iago Toral Quiroga 2022-09-28 08:14:58 +02:00 committed by Marge Bot
parent 86503aaba4
commit c3641f413a

View file

@ -1848,11 +1848,12 @@ pipeline_compile_fragment_shader(struct v3dv_pipeline *pipeline,
pipeline->stages[BROADCOM_SHADER_VERTEX];
struct v3dv_pipeline_stage *p_stage_fs =
pipeline->stages[BROADCOM_SHADER_FRAGMENT];
struct v3dv_pipeline_stage *p_stage_gs =
pipeline->stages[BROADCOM_SHADER_GEOMETRY];
struct v3d_fs_key key;
pipeline_populate_v3d_fs_key(&key, pCreateInfo, p_stage_fs,
pipeline->stages[BROADCOM_SHADER_GEOMETRY] != NULL,
p_stage_gs != NULL,
get_ucp_enable_mask(p_stage_vs));
VkResult vk_result;