anv/pipeline: Make is_dual_src_blend_factor inline
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 26 Nov 2016 06:27:36 +0000 (22:27 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 26 Nov 2016 19:58:59 +0000 (11:58 -0800)
It's not used on gen8+ so it causes unused function warnings.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/intel/vulkan/genX_pipeline.c

index 86dd64755128a34a2dd98cafd710d1211baa3ae0..845d0204d8c1d7a07914da85be71a9a5458a5562 100644 (file)
@@ -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 ||