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

+2 -1
View File
@@ -20,7 +20,8 @@ public:
BinaryData GetBinary() const override;
static std::optional<BinaryData> CompileShader(D3D_FEATURE_LEVEL feature_level, ShaderStage stage,
std::string_view source);
std::string_view source,
VideoCommon::ShaderIncluder* shader_includer);
static BinaryData CreateByteCode(const void* data, size_t length);