diff options
author | Subv <subv2112@gmail.com> | 2018-08-12 02:21:31 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-08-15 05:25:07 +0200 |
commit | c5284efd4f04bca05b1f5c61dce59090a7edf61e (patch) | |
tree | a4bf294444c67058812f010d01a60e44aa1c80b6 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #1069 from bunnei/vtx-sz (diff) | |
download | yuzu-c5284efd4f04bca05b1f5c61dce59090a7edf61e.tar yuzu-c5284efd4f04bca05b1f5c61dce59090a7edf61e.tar.gz yuzu-c5284efd4f04bca05b1f5c61dce59090a7edf61e.tar.bz2 yuzu-c5284efd4f04bca05b1f5c61dce59090a7edf61e.tar.lz yuzu-c5284efd4f04bca05b1f5c61dce59090a7edf61e.tar.xz yuzu-c5284efd4f04bca05b1f5c61dce59090a7edf61e.tar.zst yuzu-c5284efd4f04bca05b1f5c61dce59090a7edf61e.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 3 |
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{}; |