mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Cleanup warnings of -Wmissing-declarations
Add static to the functions which is not intentionally export to big scope.
This commit is contained in:
parent
62707986b7
commit
b6ff15c130
3 changed files with 7 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue