From: Jason Ekstrand Date: Sat, 26 Nov 2016 06:27:36 +0000 (-0800) Subject: anv/pipeline: Make is_dual_src_blend_factor inline X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af98c6c31d3a3271b17eea26e8ad69eaa3444d30;p=mesa.git 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 --- 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 ||