summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-03-15 16:15:06 +0000
committerLionel Landwerlin <[email protected]>2018-03-15 18:56:23 +0000
commitb5b56f91f533fd9df846f401f6626ba52a1adeda (patch)
tree0c21e3c505520e165b17e3d4a3d3d2462d31275c /src/mesa
parent0f544a3c51a9dd0e229cc953a2ddb87c14c6d51b (diff)
i965: silence unused function warning
[123/227] Compiling C object 'src/mesa/drivers/dri/i965/libi965_gen110@sta/genX_blorp_exec.c.o'. ../src/mesa/drivers/dri/i965/genX_blorp_exec.c:99: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/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/genX_blorp_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
index 53069e6fe23..3406a6fdec6 100644
--- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
+++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
@@ -94,7 +94,7 @@ blorp_surface_reloc(struct blorp_batch *batch, uint32_t ss_offset,
#endif
}
-#if GEN_GEN >= 7
+#if GEN_GEN >= 7 && GEN_GEN <= 10
static struct blorp_address
blorp_get_surface_base_address(struct blorp_batch *batch)
{