summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-17 06:07:06 +0200
committerGitHub <noreply@github.com>2018-08-17 06:07:06 +0200
commit727136a9c941e11f98ada3a972e860d2d945d96f (patch)
tree6ee9b1dfda590eaa0cc8bf906c262a07ff82de9f /src/video_core/engines/maxwell_3d.h
parentMerge pull request #1087 from MerryMage/dynarmic (diff)
parentRasterizer: Implemented instanced rendering. (diff)
downloadyuzu-727136a9c941e11f98ada3a972e860d2d945d96f.tar
yuzu-727136a9c941e11f98ada3a972e860d2d945d96f.tar.gz
yuzu-727136a9c941e11f98ada3a972e860d2d945d96f.tar.bz2
yuzu-727136a9c941e11f98ada3a972e860d2d945d96f.tar.lz
yuzu-727136a9c941e11f98ada3a972e860d2d945d96f.tar.xz
yuzu-727136a9c941e11f98ada3a972e860d2d945d96f.tar.zst
yuzu-727136a9c941e11f98ada3a972e860d2d945d96f.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 1b30ce018..771eb5abc 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -638,6 +638,8 @@ public:
union {
u32 vertex_begin_gl;
BitField<0, 16, PrimitiveTopology> topology;
+ BitField<26, 1, u32> instance_next;
+ BitField<27, 1, u32> instance_cont;
};
} draw;
@@ -830,6 +832,7 @@ public:
};
std::array<ShaderStageInfo, Regs::MaxShaderStage> shader_stages;
+ u32 current_instance = 0; ///< Current instance to be used to simulate instanced rendering.
};
State state{};