diff options
-rw-r--r-- | src/intel/blorp/blorp_genX_exec.h | 2 | ||||
-rw-r--r-- | src/intel/vulkan/genX_blorp_exec.c | 2 |
2 files changed, 3 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 diff --git a/src/intel/vulkan/genX_blorp_exec.c b/src/intel/vulkan/genX_blorp_exec.c index ac6e7366640..1ecec199846 100644 --- a/src/intel/vulkan/genX_blorp_exec.c +++ b/src/intel/vulkan/genX_blorp_exec.c @@ -64,6 +64,7 @@ blorp_surface_reloc(struct blorp_batch *batch, uint32_t ss_offset, 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) { @@ -73,6 +74,7 @@ blorp_get_surface_base_address(struct blorp_batch *batch) .offset = 0, }; } +#endif static void * blorp_alloc_dynamic_state(struct blorp_batch *batch, |