mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
VideoCommon: move lighting shader logic to callable functions
This commit is contained in:
parent
ca9b34a6d1
commit
15372dc835
4 changed files with 37 additions and 25 deletions
|
@ -44,8 +44,7 @@ constexpr char s_lighting_struct[] = "struct Light {\n"
|
|||
"\tfloat4 dir;\n"
|
||||
"};\n";
|
||||
|
||||
void GenerateLightingShaderCode(ShaderCode& object, const LightingUidData& uid_data,
|
||||
std::string_view in_color_name, std::string_view dest);
|
||||
void GenerateLightingShaderHeader(ShaderCode& object, const LightingUidData& uid_data);
|
||||
void GetLightingShaderUid(LightingUidData& uid_data);
|
||||
|
||||
void GenerateCustomLightingHeaderDetails(ShaderCode* out, u32 enablelighting, u32 light_mask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue