mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Cleanup warnings of -Wmissing-declarations
Add static to the functions which is not intentionally export to big scope.
This commit is contained in:
@ -107,8 +107,10 @@ static const char SUBGROUP_HELPER_HEADER[] = R"(
|
||||
#define SUBGROUP_MAX(value) value = subgroupMax(value)
|
||||
)";
|
||||
|
||||
std::optional<SPIRVCodeVector> CompileShaderToSPV(EShLanguage stage, const char* stage_filename,
|
||||
std::string_view source, std::string_view header)
|
||||
static std::optional<SPIRVCodeVector> CompileShaderToSPV(EShLanguage stage,
|
||||
const char* stage_filename,
|
||||
std::string_view source,
|
||||
std::string_view header)
|
||||
{
|
||||
if (!InitializeGlslang())
|
||||
return std::nullopt;
|
||||
|
Reference in New Issue
Block a user