Shader: Fix SPIRV shaders terminating before function last statement

This commit is contained in:
SirLynix
2022-03-25 12:55:32 +01:00
parent 8146ec251a
commit 83deecd8f1
2 changed files with 23 additions and 4 deletions

View File

@@ -138,6 +138,8 @@ namespace Nz
};
private:
void HandleStatementList(const std::vector<ShaderAst::StatementPtr>& statements);
void PushResultId(UInt32 value);
UInt32 PopResultId();