forked from suyu/suyu
parent
224cac988e
commit
9b77efe2b4
3 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue