Fix hashing for FragmentConfig

This commit is contained in:
offtkp 2024-07-21 16:37:37 +03:00
parent a419312cc7
commit be1c801fc2

View file

@ -12,11 +12,11 @@
namespace PICA { namespace PICA {
struct OutputConfig { struct OutputConfig {
union { union {
u32 raw; u32 raw{};
// Merge the enable + compare function into 1 field to avoid duplicate shaders // Merge the enable + compare function into 1 field to avoid duplicate shaders
// enable == off means a CompareFunction of Always // enable == off means a CompareFunction of Always
BitField<0, 3, CompareFunction> alphaTestFunction; BitField<0, 3, CompareFunction> alphaTestFunction;
BitField<4, 1, u32> depthMapEnable; BitField<3, 1, u32> depthMapEnable;
}; };
}; };