mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 06:35:39 +00:00
LightingShaderGen: Make s_lighting_struct not inline
This generated warnings on the freebsd builder.
This commit is contained in:
parent
e6f40fa015
commit
85025612bc
@ -36,13 +36,13 @@ struct LightingUidData
|
||||
u32 light_mask : 32; // 4x8 bits
|
||||
};
|
||||
|
||||
constexpr inline char s_lighting_struct[] = "struct Light {\n"
|
||||
"\tint4 color;\n"
|
||||
"\tfloat4 cosatt;\n"
|
||||
"\tfloat4 distatt;\n"
|
||||
"\tfloat4 pos;\n"
|
||||
"\tfloat4 dir;\n"
|
||||
"};\n";
|
||||
constexpr char s_lighting_struct[] = "struct Light {\n"
|
||||
"\tint4 color;\n"
|
||||
"\tfloat4 cosatt;\n"
|
||||
"\tfloat4 distatt;\n"
|
||||
"\tfloat4 pos;\n"
|
||||
"\tfloat4 dir;\n"
|
||||
"};\n";
|
||||
|
||||
void GenerateLightingShaderCode(ShaderCode& object, const LightingUidData& uid_data,
|
||||
std::string_view in_color_name, std::string_view dest);
|
||||
|
Loading…
x
Reference in New Issue
Block a user