Skip to content

Commit

Permalink
Metal: Remove padding in DrawFragmentFunctionHash
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat committed Nov 9, 2024
1 parent 49b6524 commit 10451a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/renderer_mtl/mtl_draw_pipeline_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
Expand Down

0 comments on commit 10451a6

Please sign in to comment.