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

preliminary fix to the peach game

This commit is contained in:
Crimson-Hawk
2024-03-26 16:39:56 +08:00
parent 068052078f
commit 925ce2fad3
5 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);