Refresh cached resources in one SRT walk

This commit is contained in:
nmzik committed 2026-09-23 15:41:02 +04:00
1 parent d6dac92da1
commit 13fcb3a133
16 files changed
+977 -1111

No files matched your search

+2 -2
View File
@@ -51,10 +51,10 @@ struct CompiledShaderInfo;
struct ShaderStageRuntime {
const ShaderRecompiler::IR::CompiledShaderInfo* program = nullptr;
ShaderRecompiler::IR::ResourceSnapshot resources;
const ShaderRecompiler::IR::ResourceSnapshot* resources = nullptr;
[[nodiscard]] explicit operator bool() const {
return program != nullptr;
return program != nullptr && resources != nullptr;
}
};