aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/query_cache.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-10-09 07:04:03 +0200
committerGitHub <noreply@github.com>2022-10-09 07:04:03 +0200
commit55e6d0dae003378ca8ed9a10b6fbb8626a1fd25f (patch)
treef05d721b40595c3caa9543af50015041a66c2bdf /src/video_core/query_cache.h
parentec9550ced54fe88432281cdf4e9e6311362846ec (diff)
parent752659aef3f16111981a097989dd7a5ddecff316 (diff)
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:
std::unique_lock lock{mutex};
if (maxwell3d) {
const auto& regs = maxwell3d->regs;
- Stream(VideoCore::QueryType::SamplesPassed).Update(regs.samplecnt_enable);
+ Stream(VideoCore::QueryType::SamplesPassed).Update(regs.zpass_pixel_count_enable);
}
}