From c3641f413a1ec58998e257e63f1699369c0889f0 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 28 Sep 2022 08:14:58 +0200 Subject: [PATCH] broadcom/compiler: trivial code clean-up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Alejandro PiƱeiro Part-of: --- src/broadcom/vulkan/v3dv_pipeline.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/broadcom/vulkan/v3dv_pipeline.c b/src/broadcom/vulkan/v3dv_pipeline.c index 7ea8306e85d..5eee8ec0f01 100644 --- a/src/broadcom/vulkan/v3dv_pipeline.c +++ b/src/broadcom/vulkan/v3dv_pipeline.c @@ -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;