mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
LightingShader: Drop xfmem usage.
Our shaders must only depend on the UID, not on any global state.
This commit is contained in:
parent
829fc8f0ad
commit
083be0832f
5 changed files with 10 additions and 8 deletions
|
@ -47,5 +47,5 @@ static const char s_lighting_struct[] = "struct Light {\n"
|
|||
"};\n";
|
||||
|
||||
void GenerateLightingShaderCode(ShaderCode& object, const LightingUidData& uid_data, int components,
|
||||
const char* inColorName, const char* dest);
|
||||
u32 numColorChans, const char* inColorName, const char* dest);
|
||||
void GetLightingShaderUid(LightingUidData& uid_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue