mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Implement EFB copy filter and gamma in hardware backends
Also makes y_scale a dynamic parameter for EFB copies, as it doesn't make sense to keep it as part of the uid, otherwise we're generating redundant shaders.
This commit is contained in:
@ -970,6 +970,8 @@ union UPE_Copy
|
||||
|
||||
union CopyFilterCoefficients
|
||||
{
|
||||
using Values = std::array<u8, 7>;
|
||||
|
||||
u64 Hex;
|
||||
|
||||
BitField<0, 6, u64> w0;
|
||||
@ -980,7 +982,7 @@ union CopyFilterCoefficients
|
||||
BitField<38, 6, u64> w5;
|
||||
BitField<44, 6, u64> w6;
|
||||
|
||||
std::array<u8, 7> GetCoefficients() const
|
||||
Values GetCoefficients() const
|
||||
{
|
||||
return {
|
||||
static_cast<u8>(w0), static_cast<u8>(w1), static_cast<u8>(w2), static_cast<u8>(w3),
|
||||
|
Reference in New Issue
Block a user