summaryrefslogtreecommitdiffstats
path: root/src/video_core/primitive_assembly.h
diff options
context:
space:
mode:
authorDwayne Slater <ds84182@gmail.com>2016-03-03 04:16:38 +0100
committerDwayne Slater <ds84182@gmail.com>2016-03-03 04:16:38 +0100
commit6b775034dd8343c06369b64bf073d6a70f35f510 (patch)
treef2a9099637bcb218ff0cc789f98151689f65c903 /src/video_core/primitive_assembly.h
parentMerge pull request #1434 from Kloen/legend (diff)
downloadyuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar
yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar.gz
yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar.bz2
yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar.lz
yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar.xz
yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar.zst
yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.zip
Diffstat (limited to 'src/video_core/primitive_assembly.h')
-rw-r--r--src/video_core/primitive_assembly.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/primitive_assembly.h b/src/video_core/primitive_assembly.h
index 52d0ec8ff..cc6e5fde5 100644
--- a/src/video_core/primitive_assembly.h
+++ b/src/video_core/primitive_assembly.h
@@ -30,6 +30,16 @@ struct PrimitiveAssembler {
*/
void SubmitVertex(VertexType& vtx, TriangleHandler triangle_handler);
+ /**
+ * Resets the internal state of the PrimitiveAssembler.
+ */
+ void Reset();
+
+ /**
+ * Reconfigures the PrimitiveAssembler to use a different triangle topology.
+ */
+ void Reconfigure(Regs::TriangleTopology topology);
+
private:
Regs::TriangleTopology topology;