Shader: Fix conditional statement handling in partial compilation mode
This commit is contained in:
@@ -166,6 +166,7 @@ namespace Nz::ShaderAst
|
||||
ExpressionValue<StructLayout> layout;
|
||||
std::string name;
|
||||
std::vector<StructMember> members;
|
||||
bool isConditional;
|
||||
};
|
||||
|
||||
inline bool IsAliasType(const ExpressionType& type);
|
||||
|
||||
@@ -218,6 +218,7 @@ namespace Nz::ShaderAst
|
||||
{
|
||||
std::size_t index;
|
||||
IdentifierCategory category;
|
||||
bool isConditional = false;
|
||||
};
|
||||
|
||||
struct Identifier
|
||||
|
||||
Reference in New Issue
Block a user