1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-12-06 12:52:09 -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

@@ -549,6 +549,8 @@ Id EmitInvocationInfo(EmitContext& ctx) {
case Stage::TessellationEval:
return ctx.OpShiftLeftLogical(ctx.U32[1], ctx.OpLoad(ctx.U32[1], ctx.patch_vertices_in),
ctx.Const(16u));
case Stage::Geometry:
return ctx.Const(InputTopologyVertices::vertices(ctx.runtime_info.input_topology) << 16);
default:
LOG_WARNING(Shader, "(STUBBED) called");
return ctx.Const(0x00ff0000u);