summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-11-24 14:02:58 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-11-24 20:57:16 +0100
commit3b582d5fb2ca19d1a45f9675244021a3d302c9ff (patch)
treee0e4808844a61b8b67f77ecbf0692c88a8c2673a /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #9299 from lioncash/cast (diff)
downloadyuzu-3b582d5fb2ca19d1a45f9675244021a3d302c9ff.tar
yuzu-3b582d5fb2ca19d1a45f9675244021a3d302c9ff.tar.gz
yuzu-3b582d5fb2ca19d1a45f9675244021a3d302c9ff.tar.bz2
yuzu-3b582d5fb2ca19d1a45f9675244021a3d302c9ff.tar.lz
yuzu-3b582d5fb2ca19d1a45f9675244021a3d302c9ff.tar.xz
yuzu-3b582d5fb2ca19d1a45f9675244021a3d302c9ff.tar.zst
yuzu-3b582d5fb2ca19d1a45f9675244021a3d302c9ff.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 5bb1427c1..6d43e23ea 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -249,9 +249,6 @@ void Maxwell3D::ProcessMethodCall(u32 method, u32 argument, u32 nonshadow_argume
return;
case MAXWELL3D_REG_INDEX(fragment_barrier):
return rasterizer->FragmentBarrier();
- case MAXWELL3D_REG_INDEX(invalidate_texture_data_cache):
- rasterizer->InvalidateGPUCache();
- return rasterizer->WaitForIdle();
case MAXWELL3D_REG_INDEX(tiled_cache_barrier):
return rasterizer->TiledCacheBarrier();
}
@@ -511,10 +508,7 @@ void Maxwell3D::ProcessCounterReset() {
void Maxwell3D::ProcessSyncPoint() {
const u32 sync_point = regs.sync_info.sync_point.Value();
- const u32 cache_flush = regs.sync_info.clean_l2.Value();
- if (cache_flush != 0) {
- rasterizer->InvalidateGPUCache();
- }
+ [[maybe_unused]] const u32 cache_flush = regs.sync_info.clean_l2.Value();
rasterizer->SignalSyncPoint(sync_point);
}