1
1
Fork 0
forked from suyu/suyu
revert fix clong format
This commit is contained in:
ivchodev 2024-03-26 18:37:54 +01:00
parent 224cac988e
commit 9b77efe2b4
3 changed files with 3 additions and 3 deletions

View file

@ -408,7 +408,7 @@ void EmitInvocationInfo(EmitContext& ctx, IR::Inst& inst) {
break; break;
case Stage::Geometry: case Stage::Geometry:
ctx.Add("SHL.U {}.x,{},16;", inst, ctx.Add("SHL.U {}.x,{},16;", inst,
InputTopologyVertices::vertices(ctx.runtime_info.input_topology)); InputTopologyVertices::vertices(ctx.runtime_info.input_topology));
break; break;
default: default:
LOG_WARNING(Shader, "(STUBBED) called"); LOG_WARNING(Shader, "(STUBBED) called");

View file

@ -10,8 +10,8 @@
#include <fmt/format.h> #include <fmt/format.h>
#include "shader_recompiler/backend/glasm/reg_alloc.h" #include "shader_recompiler/backend/glasm/reg_alloc.h"
#include "shader_recompiler/runtime_info.h"
#include "shader_recompiler/stage.h" #include "shader_recompiler/stage.h"
#include "shader_recompiler/runtime_info.h"
namespace Shader { namespace Shader {
struct Info; struct Info;

View file

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