summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-28 23:23:25 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-28 23:23:25 +0200
commit9b06e823ee5c375d1e06edccb4d621d91255e804 (patch)
treeb318b2ce2fe45877e81b54544aef6bb7c78d186f /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #3993 from ReinUsesLisp/fix-zla (diff)
downloadyuzu-9b06e823ee5c375d1e06edccb4d621d91255e804.tar
yuzu-9b06e823ee5c375d1e06edccb4d621d91255e804.tar.gz
yuzu-9b06e823ee5c375d1e06edccb4d621d91255e804.tar.bz2
yuzu-9b06e823ee5c375d1e06edccb4d621d91255e804.tar.lz
yuzu-9b06e823ee5c375d1e06edccb4d621d91255e804.tar.xz
yuzu-9b06e823ee5c375d1e06edccb4d621d91255e804.tar.zst
yuzu-9b06e823ee5c375d1e06edccb4d621d91255e804.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 024c9e43b..004f6b261 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -457,8 +457,9 @@ void Maxwell3D::StampQueryResult(u64 payload, bool long_query) {
void Maxwell3D::ProcessQueryGet() {
// TODO(Subv): Support the other query units.
- ASSERT_MSG(regs.query.query_get.unit == Regs::QueryUnit::Crop,
- "Units other than CROP are unimplemented");
+ if (regs.query.query_get.unit != Regs::QueryUnit::Crop) {
+ LOG_DEBUG(HW_GPU, "Units other than CROP are unimplemented");
+ }
switch (regs.query.query_get.operation) {
case Regs::QueryOperation::Release:
@@ -534,8 +535,8 @@ void Maxwell3D::ProcessCounterReset() {
rasterizer.ResetCounter(QueryType::SamplesPassed);
break;
default:
- LOG_WARNING(Render_OpenGL, "Unimplemented counter reset={}",
- static_cast<int>(regs.counter_reset));
+ LOG_DEBUG(Render_OpenGL, "Unimplemented counter reset={}",
+ static_cast<int>(regs.counter_reset));
break;
}
}
@@ -592,8 +593,8 @@ std::optional<u64> Maxwell3D::GetQueryResult() {
system.GPU().GetTicks());
return {};
default:
- UNIMPLEMENTED_MSG("Unimplemented query select type {}",
- static_cast<u32>(regs.query.query_get.select.Value()));
+ LOG_DEBUG(HW_GPU, "Unimplemented query select type {}",
+ static_cast<u32>(regs.query.query_get.select.Value()));
return 1;
}
}