summaryrefslogtreecommitdiff
path: root/src/video_core/query_cache.h
diff options
context:
space:
mode:
authorGravatar Fernando S2022-10-09 07:04:03 +0200
committerGravatar GitHub2022-10-09 07:04:03 +0200
commit55e6d0dae003378ca8ed9a10b6fbb8626a1fd25f (patch)
treef05d721b40595c3caa9543af50015041a66c2bdf /src/video_core/query_cache.h
parentMerge pull request #9033 from liamwhite/stub-fsp (diff)
parentUpdate 3D regs (diff)
downloadyuzu-55e6d0dae003378ca8ed9a10b6fbb8626a1fd25f.tar.gz
yuzu-55e6d0dae003378ca8ed9a10b6fbb8626a1fd25f.tar.xz
yuzu-55e6d0dae003378ca8ed9a10b6fbb8626a1fd25f.zip
Merge pull request #8766 from Kelebek1/regs
[video_core] Update 3D registers
Diffstat (limited to 'src/video_core/query_cache.h')
-rw-r--r--src/video_core/query_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/query_cache.h b/src/video_core/query_cache.h
index b0ebe71b7..00ce53e3e 100644
--- a/src/video_core/query_cache.h
+++ b/src/video_core/query_cache.h
@@ -137,7 +137,7 @@ public:
137 std::unique_lock lock{mutex}; 137 std::unique_lock lock{mutex};
138 if (maxwell3d) { 138 if (maxwell3d) {
139 const auto& regs = maxwell3d->regs; 139 const auto& regs = maxwell3d->regs;
140 Stream(VideoCore::QueryType::SamplesPassed).Update(regs.samplecnt_enable); 140 Stream(VideoCore::QueryType::SamplesPassed).Update(regs.zpass_pixel_count_enable);
141 } 141 }
142 } 142 }
143 143