mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
VideoCommon/TextureConversionShader: Convert over to using ShaderCode
Migrates the shader generator off the use of a global array, eliminating the use of some global state. This also allows us to move the shader generation over to using fmt in a subsequent change.
This commit is contained in:
parent
ea9b96370d
commit
aa77dff3a2
3 changed files with 509 additions and 510 deletions
|
@ -20,7 +20,7 @@ namespace TextureConversionShaderTiled
|
|||
{
|
||||
u16 GetEncodedSampleCount(EFBCopyFormat format);
|
||||
|
||||
const char* GenerateEncodingShader(const EFBCopyParams& params, APIType ApiType);
|
||||
std::string GenerateEncodingShader(const EFBCopyParams& params, APIType api_type);
|
||||
|
||||
// Information required to compile and dispatch a texture decoding shader.
|
||||
struct DecodingShaderInfo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue