1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-12-19 09:45:12 -06:00

Added support for Princess Peach: Showtime!

This commit is contained in:
Jarrod Norwell
2024-03-23 11:53:26 +08:00
committed by Lucas Clemente Vella
parent 09578d522b
commit b3e989343d
4 changed files with 29 additions and 0 deletions

View File

@@ -426,6 +426,10 @@ void EmitInvocationInfo(EmitContext& ctx, IR::Inst& inst) {
case Stage::TessellationEval:
ctx.AddU32("{}=uint(gl_PatchVerticesIn)<<16;", inst);
break;
case Stage::Geometry:
ctx.AddU32("{}=uint({}<<16);", inst,
InputTopologyVertices::vertices(ctx.runtime_info.input_topology));
break;
default:
LOG_WARNING(Shader, "(STUBBED) called");
ctx.AddU32("{}=uint(0x00ff0000);", inst);