From 10451a676b9d37b99700bb0d2fbf617fba80211b Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sat, 9 Nov 2024 13:25:24 +0200 Subject: [PATCH] Metal: Remove padding in DrawFragmentFunctionHash --- include/renderer_mtl/mtl_draw_pipeline_cache.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/renderer_mtl/mtl_draw_pipeline_cache.hpp b/include/renderer_mtl/mtl_draw_pipeline_cache.hpp index ace324fee..47ea53146 100644 --- a/include/renderer_mtl/mtl_draw_pipeline_cache.hpp +++ b/include/renderer_mtl/mtl_draw_pipeline_cache.hpp @@ -8,9 +8,9 @@ using namespace PICA; namespace Metal { struct DrawFragmentFunctionHash { + u32 lightingConfig1; // 32 bits (TODO: check this) bool lightingEnabled; // 1 bit u8 lightingNumLights; // 3 bits - u32 lightingConfig1; // 32 bits (TODO: check this) // | ref | func | on | u16 alphaControl; // 12 bits (mask: 11111111 0111 0001) };