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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user