Ver Fonte

revert eb306775c616c4ba6db5fadafd19b509ae16f709

revert fix clong format
ivchodev há 2 anos atrás
pai
commit
9b77efe2b4

+ 1 - 1
src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp

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

+ 1 - 1
src/shader_recompiler/backend/glasm/glasm_emit_context.h

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

+ 1 - 1
src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp

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