summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/genX_pipeline.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-08-25 20:40:01 -0700
committerMatt Turner <[email protected]>2017-08-29 15:20:57 -0700
commitcdbaa8a12feff2286b61cecf0b2e5b3feb8d902d (patch)
treee6051f9e3217c862365202ceabc7241b55e4040e /src/intel/vulkan/genX_pipeline.c
parent5d4afef459629d62b5cce4af30ef021fa20620bb (diff)
anv: Mark functions used conditionally as UNUSED
The functions we're marking as UNUSED in genX_pipeline.c are used only when compiling for particular generations. Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_pipeline.c')
-rw-r--r--src/intel/vulkan/genX_pipeline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c
index c06d515a414..8065163dc46 100644
--- a/src/intel/vulkan/genX_pipeline.c
+++ b/src/intel/vulkan/genX_pipeline.c
@@ -1115,7 +1115,7 @@ get_urb_output_offset()
return 1;
}
-static uint32_t
+UNUSED static uint32_t
get_urb_output_length(const struct anv_shader_bin *bin)
{
const struct brw_vue_prog_data *prog_data =
@@ -1418,7 +1418,7 @@ emit_3dstate_wm(struct anv_pipeline *pipeline, struct anv_subpass *subpass,
}
}
-static bool
+UNUSED static bool
is_dual_src_blend_factor(VkBlendFactor factor)
{
return factor == VK_BLEND_FACTOR_SRC1_COLOR ||