mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00: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:
parent
a192a3bb30
commit
9e798eec94
41 changed files with 526 additions and 236 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue