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
@@ -38,8 +38,10 @@ public:
CreateFramebuffer(AbstractTexture* color_attachment, AbstractTexture* depth_attachment,
std::vector<AbstractTexture*> additional_color_attachments) 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;