aboutsummaryrefslogtreecommitdiff
path: root/icd/common
diff options
context:
space:
mode:
authorIan Elliott <ian@LunarG.com>2015-02-17 16:44:44 -0700
committerIan Elliott <ian@LunarG.com>2015-02-17 16:48:26 -0700
commit51d58df03f34a783b683ef4a3eba079f1c3aa325 (patch)
treed878d19adf2b4b651b27ca820d465538de651fef /icd/common
parent954d79e85996e641aa842d89c16abc63dd0cd273 (diff)
downloadusermoji-51d58df03f34a783b683ef4a3eba079f1c3aa325.tar.xz
Win: MUST USE "STATIC_INLINE" instead of "static inline"
Diffstat (limited to 'icd/common')
-rw-r--r--icd/common/icd-format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/icd/common/icd-format.h b/icd/common/icd-format.h
index 28c2dcae..3ab9be8e 100644
--- a/icd/common/icd-format.h
+++ b/icd/common/icd-format.h
@@ -59,7 +59,7 @@ static inline int icd_format_get_block_width(XGL_FORMAT format)
return (icd_format_is_compressed(format)) ? 4 : 1;
}
-static inline bool icd_blend_mode_is_dual_src(XGL_BLEND mode)
+STATIC_INLINE bool icd_blend_mode_is_dual_src(XGL_BLEND mode)
{
return (mode == XGL_BLEND_SRC1_COLOR) ||
(mode == XGL_BLEND_SRC1_ALPHA) ||
@@ -67,7 +67,7 @@ static inline bool icd_blend_mode_is_dual_src(XGL_BLEND mode)
(mode == XGL_BLEND_ONE_MINUS_SRC1_ALPHA);
}
-static inline bool icd_pipeline_cb_att_needs_dual_source_blending(const XGL_PIPELINE_CB_ATTACHMENT_STATE *att)
+STATIC_INLINE bool icd_pipeline_cb_att_needs_dual_source_blending(const XGL_PIPELINE_CB_ATTACHMENT_STATE *att)
{
if (icd_blend_mode_is_dual_src(att->srcBlendColor) ||
icd_blend_mode_is_dual_src(att->srcBlendAlpha) ||