From 7c73346549c3c5cb9a23a8c9b42d12e09665ee20 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 7 Aug 2024 10:09:32 +0300 Subject: [PATCH] anv: remove unused macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lionel Landwerlin Reviewed-by: Tapani Pälli Part-of: --- src/intel/vulkan/anv_private.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index d00c0110694..84c4f0083ac 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -4832,20 +4832,6 @@ struct anv_graphics_pipeline { } partial; }; -#define anv_batch_merge_pipeline_state(batch, dwords0, pipeline, state) \ - do { \ - uint32_t *dw; \ - \ - assert(ARRAY_SIZE(dwords0) == (pipeline)->state.len); \ - dw = anv_batch_emit_dwords((batch), ARRAY_SIZE(dwords0)); \ - if (!dw) \ - break; \ - for (uint32_t i = 0; i < ARRAY_SIZE(dwords0); i++) \ - dw[i] = (dwords0)[i] | \ - (pipeline)->batch_data[(pipeline)->state.offset + i]; \ - VG(VALGRIND_CHECK_MEM_IS_DEFINED(dw, ARRAY_SIZE(dwords0) * 4)); \ - } while (0) - #define anv_batch_emit_pipeline_state(batch, pipeline, state) \ do { \ if ((pipeline)->state.len == 0) \