From 99b0fb591146bdbe36fd317daf8c7a7b1a52bbf7 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 6 Apr 2024 01:40:36 +1000 Subject: [PATCH] GPU/HW: Move pipelines to end of struct Helps keep the rest in range for ARM32's 4K displacement. --- src/core/gpu_hw.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/gpu_hw.h b/src/core/gpu_hw.h index 22b41aaeb..7b71aa25a 100644 --- a/src/core/gpu_hw.h +++ b/src/core/gpu_hw.h @@ -256,8 +256,6 @@ private: Common::Rectangle m_vram_dirty_write_rect; Common::Rectangle m_current_uv_range; - // [depth_test][transparency_mode][render_mode][texture_mode][dithering][interlacing][check_mask] - DimensionalArray, 2, 2, 2, 9, 5, 5, 2> m_batch_pipelines{}; std::unique_ptr m_wireframe_pipeline; // [wrapped][interlaced] @@ -282,4 +280,7 @@ private: std::unique_ptr m_downsample_lod_sampler; std::unique_ptr m_downsample_composite_sampler; u32 m_downsample_scale_or_levels = 0; + + // [depth_test][transparency_mode][render_mode][texture_mode][dithering][interlacing][check_mask] + DimensionalArray, 2, 2, 2, 9, 5, 5, 2> m_batch_pipelines{}; };