summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-03-15 16:14:34 +0000
committerLionel Landwerlin <[email protected]>2018-03-15 18:55:42 +0000
commit0f544a3c51a9dd0e229cc953a2ddb87c14c6d51b (patch)
treea89dc748f5628751e0fe4c6c7209cd193dbe537e /src/intel/blorp
parent2a7027f79a8ce09d315606c228d2eb393938d2fd (diff)
anv: silence unused function warning on gen11
[84/227] Compiling C object 'src/intel/vulkan/libanv_gen110@sta/genX_blorp_exec.c.o'. ../src/intel/vulkan/genX_blorp_exec.c:68:1: warning: ‘blorp_get_surface_base_address’ defined but not used [-Wunused-function] blorp_get_surface_base_address(struct blorp_batch *batch) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src/intel/blorp')
-rw-r--r--src/intel/blorp/blorp_genX_exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 1348659233c..b612709035a 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -78,7 +78,7 @@ static void
blorp_surface_reloc(struct blorp_batch *batch, uint32_t ss_offset,
struct blorp_address address, uint32_t delta);
-#if GEN_GEN >= 7
+#if GEN_GEN >= 7 && GEN_GEN <= 10
static struct blorp_address
blorp_get_surface_base_address(struct blorp_batch *batch);
#endif