mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-07 18:16:23 +00:00
TextureConversionShader: Don't sample from adjacent rows when not needed
This commit is contained in:
parent
ef98a21735
commit
4faac3a627
8 changed files with 74 additions and 35 deletions
|
@ -22,6 +22,7 @@ struct UidData
|
|||
u32 is_depth_copy : 1;
|
||||
u32 is_intensity : 1;
|
||||
u32 scale_by_half : 1;
|
||||
u32 copy_filter : 1;
|
||||
};
|
||||
#pragma pack()
|
||||
|
||||
|
@ -30,6 +31,6 @@ using TCShaderUid = ShaderUid<UidData>;
|
|||
ShaderCode GenerateShader(APIType api_type, const UidData* uid_data);
|
||||
|
||||
TCShaderUid GetShaderUid(EFBCopyFormat dst_format, bool is_depth_copy, bool is_intensity,
|
||||
bool scale_by_half);
|
||||
bool scale_by_half, bool copy_filter);
|
||||
|
||||
} // namespace TextureConversionShaderGen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue