mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
VideoCommon: Reduce duplicates of non-palette-requiring texture decode shaders
This commit is contained in:
parent
70bf89fa59
commit
23c1721fbd
5 changed files with 34 additions and 20 deletions
|
@ -110,7 +110,8 @@ public:
|
|||
TextureFormat to_format);
|
||||
|
||||
// Texture decoding compute shaders
|
||||
const AbstractShader* GetTextureDecodingShader(TextureFormat format, TLUTFormat palette_format);
|
||||
const AbstractShader* GetTextureDecodingShader(TextureFormat format,
|
||||
std::optional<TLUTFormat> palette_format);
|
||||
|
||||
private:
|
||||
static constexpr size_t NUM_PALETTE_CONVERSION_SHADERS = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue