diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-26 22:52:15 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-14 21:33:13 +0100 |
commit | aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd (patch) | |
tree | 560202675a073aa8e3863b4e17874fed27db8a6d /src/video_core/engines/maxwell_3d.h | |
parent | gl_rasterizer: Sort method declarations (diff) | |
download | yuzu-aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd.tar yuzu-aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd.tar.gz yuzu-aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd.tar.bz2 yuzu-aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd.tar.lz yuzu-aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd.tar.xz yuzu-aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd.tar.zst yuzu-aae8c180cbbf91ba12f53c37e81a97d4b3cc4ccd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index d21f678ed..26939be3f 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -6,6 +6,7 @@ #include <array> #include <bitset> +#include <optional> #include <type_traits> #include <unordered_map> #include <vector> @@ -1462,6 +1463,9 @@ private: // Handles a instance drawcall from MME void StepInstance(MMEDrawMode expected_mode, u32 count); + + /// Returns a query's value or an empty object if the value will be deferred through a cache. + std::optional<u64> GetQueryResult(); }; #define ASSERT_REG_POSITION(field_name, position) \ |