VideoBackends / VideoCommon: add support for specifying include files in shader code

This commit is contained in:
iwubcode committed 2025-10-26 22:47:23 -05:00
1 parent ba2acb872c
commit 96fe6a1575
40 files changed
+450 -113

No files matched your search

+4 -2
View File
@@ -25,8 +25,10 @@ public:
std::string_view name) override;
std::unique_ptr<AbstractStagingTexture>
CreateStagingTexture(StagingTextureType type, const TextureConfig& config) override;
std::unique_ptr<AbstractShader> CreateShaderFromSource(ShaderStage stage, std::string_view source,
std::string_view name) override;
std::unique_ptr<AbstractShader>
CreateShaderFromSource(ShaderStage stage, std::string_view source,
VideoCommon::ShaderIncluder* shader_includer,
std::string_view name) override;
std::unique_ptr<AbstractShader> CreateShaderFromBinary(ShaderStage stage, const void* data,
size_t length,
std::string_view name) override;