mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 07:57:58 -05:00
glsl: Fix non-immediate buffer access
and many other misc implementations
This commit is contained in:
@ -160,8 +160,13 @@ void EmitCode(EmitContext& ctx, const IR::Program& program) {
|
||||
ctx.Add("return;");
|
||||
break;
|
||||
case IR::AbstractSyntaxNode::Type::Loop:
|
||||
ctx.Add("do{{");
|
||||
break;
|
||||
case IR::AbstractSyntaxNode::Type::Repeat:
|
||||
ctx.Add("}}while({});", ctx.reg_alloc.Consume(node.data.repeat.cond));
|
||||
break;
|
||||
default:
|
||||
fmt::print("{}", node.type);
|
||||
throw NotImplementedException("{}", node.type);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user