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 <imirkin@alum.mit.edu>
This commit is contained in:
@@ -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)
|
is_dual_src_blend_factor(VkBlendFactor factor)
|
||||||
{
|
{
|
||||||
return factor == VK_BLEND_FACTOR_SRC1_COLOR ||
|
return factor == VK_BLEND_FACTOR_SRC1_COLOR ||
|
||||||
|
Reference in New Issue
Block a user