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
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user