diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-26 22:30:21 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-14 21:27:17 +0100 |
commit | fe1238be7a14b98c1698b5f8398b0efe83ade43a (patch) | |
tree | dbf9199d7680b405d4e50df29a4395d36e3e4135 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | maxwell_3d: Slow implementation of passed samples (query 21) (diff) | |
download | yuzu-fe1238be7a14b98c1698b5f8398b0efe83ade43a.tar yuzu-fe1238be7a14b98c1698b5f8398b0efe83ade43a.tar.gz yuzu-fe1238be7a14b98c1698b5f8398b0efe83ade43a.tar.bz2 yuzu-fe1238be7a14b98c1698b5f8398b0efe83ade43a.tar.lz yuzu-fe1238be7a14b98c1698b5f8398b0efe83ade43a.tar.xz yuzu-fe1238be7a14b98c1698b5f8398b0efe83ade43a.tar.zst yuzu-fe1238be7a14b98c1698b5f8398b0efe83ade43a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 32bcaf8c2..a9218db22 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -226,6 +226,9 @@ private: void SetupShaders(GLenum primitive_mode); HostCounter samples_passed{GL_SAMPLES_PASSED}; + + /// Number of commands queued to the OpenGL driver. Reseted on flush. + std::size_t num_queued_commands = 0; }; } // namespace OpenGL |