From 91cb09085375c9cad6e8a29a595ff1c3934ef686 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 8 Feb 2025 23:51:54 +0200 Subject: [PATCH] gpu_neon: avoid some clang warnings --- plugins/gpu_neon/psx_gpu/psx_gpu_simd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu_simd.c b/plugins/gpu_neon/psx_gpu/psx_gpu_simd.c index 174e61d2..1eaee261 100644 --- a/plugins/gpu_neon/psx_gpu/psx_gpu_simd.c +++ b/plugins/gpu_neon/psx_gpu/psx_gpu_simd.c @@ -1929,9 +1929,12 @@ void setup_spans_up_down(psx_gpu_struct *psx_gpu, vertex_struct *v_a, gvaddq_u32(u_block, u_block, block_span); \ gvld1q_u32(block_span, psx_gpu->v_block_span.e); \ gvaddq_u32(v_block, v_block, block_span); \ + (void)(span_b_offset); \ } \ #define setup_blocks_span_initialize_unshaded_untextured() \ + (void)(span_uvrg_offset); \ + (void)(span_b_offset) \ #define setup_blocks_texture_swizzled() \ { \ @@ -2176,6 +2179,7 @@ void setup_spans_up_down(psx_gpu_struct *psx_gpu, vertex_struct *v_a, } \ #define setup_blocks_store_draw_mask_untextured_direct(_block, bits) \ + (void)(_block) \ #define setup_blocks_uv_adj_hack_untextured(_block, edge_data, uvrg_offset) \ -- 2.39.5