From af98c6c31d3a3271b17eea26e8ad69eaa3444d30 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 25 Nov 2016 22:27:36 -0800 Subject: [PATCH] anv/pipeline: Make is_dual_src_blend_factor inline It's not used on gen8+ so it causes unused function warnings. Reviewed-by: Ilia Mirkin --- src/intel/vulkan/genX_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 86dd6475512..845d0204d8c 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -1100,7 +1100,7 @@ emit_3dstate_wm(struct anv_pipeline *pipeline, struct anv_subpass *subpass, } } -static bool +static inline bool is_dual_src_blend_factor(VkBlendFactor factor) { return factor == VK_BLEND_FACTOR_SRC1_COLOR || -- 2.30.2