Do not mask writes to remapped variables in all cases.
If they don't have a static expression we should still write to it.
This commit is contained in:
parent
61cddd6307
commit
d31bc0247e
@ -8697,7 +8697,7 @@ void CompilerGLSL::emit_instruction(const Instruction &instruction)
|
||||
var->static_expression = ops[1];
|
||||
else if (var && var->loop_variable && !var->loop_variable_enable)
|
||||
var->static_expression = ops[1];
|
||||
else if (var && var->remapped_variable)
|
||||
else if (var && var->remapped_variable && var->static_expression)
|
||||
{
|
||||
// Skip the write.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user