VideoBackends / VideoCommon: add support for specifying include files in shader code
This commit is contained in:
1 parent
ba2acb872c
commit
96fe6a1575
40 files changed
+450
-113
No files matched your search
@@ -54,7 +54,8 @@ static inline bool HasStencil(AbstractTextureFormat format)
|
||||
return format == AbstractTextureFormat::D24_S8 || format == AbstractTextureFormat::D32F_S8;
|
||||
}
|
||||
|
||||
std::optional<std::string> TranslateShaderToMSL(ShaderStage stage, std::string_view source);
|
||||
std::optional<std::string> TranslateShaderToMSL(ShaderStage stage, std::string_view source,
|
||||
VideoCommon::ShaderIncluder* shader_includer);
|
||||
|
||||
} // namespace Util
|
||||
} // namespace Metal
|
||||
Reference in new issue
Block a user