projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41f7c3
)
anv/pipeline: Make is_dual_src_blend_factor inline
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 26 Nov 2016 06:27:36 +0000
(22:27 -0800)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/genX_pipeline.c
b/src/intel/vulkan/genX_pipeline.c
index 86dd64755128a34a2dd98cafd710d1211baa3ae0..845d0204d8c1d7a07914da85be71a9a5458a5562 100644
(file)
--- 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 ||