1
0
Fork 0
forked from suyu/suyu

fix clong format

This commit is contained in:
Crimson-Hawk 2024-03-26 16:46:05 +08:00
parent 925ce2fad3
commit eb306775c6
Signed by: Crimson-Hawk
GPG key ID: 0804DD39BB9BF5AC
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/stage.h"
#include "shader_recompiler/runtime_info.h" #include "shader_recompiler/runtime_info.h"
#include "shader_recompiler/stage.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");