diff options
author | Jason Ekstrand <[email protected]> | 2016-11-25 22:27:36 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-26 11:58:59 -0800 |
commit | af98c6c31d3a3271b17eea26e8ad69eaa3444d30 (patch) | |
tree | aeb6b2054a616017bb7bb2698ba51be818051634 /src/intel/vulkan | |
parent | e41f7c3063c71840f75891c501aa2a0e0a23f352 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/genX_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 || |