[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 <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
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
anv_batch_set_error(&cmd_buffer->batch, result);
}
+#if GEN_GEN >= 7 && GEN_GEN <= 10
static struct blorp_address
blorp_get_surface_base_address(struct blorp_batch *batch)
{
.offset = 0,
};
}
+#endif
static void *
blorp_alloc_dynamic_state(struct blorp_batch *batch,