Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>

On 24/11/16 12:36, Juan A. Suarez Romero wrote:
Fixes defined but not used warning.
---
  src/intel/vulkan/genX_pipeline.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c
index ada7985..991fbf6 100644
--- a/src/intel/vulkan/genX_pipeline.c
+++ b/src/intel/vulkan/genX_pipeline.c
@@ -1100,6 +1100,7 @@ emit_3dstate_wm(struct anv_pipeline *pipeline, struct 
anv_subpass *subpass,
     }
  }
+#if GEN_GEN < 8
  static bool
  is_dual_src_blend_factor(VkBlendFactor factor)
  {
@@ -1108,6 +1109,7 @@ is_dual_src_blend_factor(VkBlendFactor factor)
            factor == VK_BLEND_FACTOR_SRC1_ALPHA ||
            factor == VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA;
  }
+#endif
static void
  emit_3dstate_ps(struct anv_pipeline *pipeline,


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to