summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2023-12-20 17:51:44 +0100
committerAmeer J <52414509+ameerj@users.noreply.github.com>2023-12-20 17:51:44 +0100
commit61e8c5f798dc868070a1bc175a4f6851bb1840f9 (patch)
tree6e7de4eff49d7024db82fac4547b27094618ad7d
parentOpenGL: Add GL_PRIMITIVES_GENERATED and GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queries (diff)
downloadyuzu-61e8c5f798dc868070a1bc175a4f6851bb1840f9.tar
yuzu-61e8c5f798dc868070a1bc175a4f6851bb1840f9.tar.gz
yuzu-61e8c5f798dc868070a1bc175a4f6851bb1840f9.tar.bz2
yuzu-61e8c5f798dc868070a1bc175a4f6851bb1840f9.tar.lz
yuzu-61e8c5f798dc868070a1bc175a4f6851bb1840f9.tar.xz
yuzu-61e8c5f798dc868070a1bc175a4f6851bb1840f9.tar.zst
yuzu-61e8c5f798dc868070a1bc175a4f6851bb1840f9.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 0545e33c5..8111f77a8 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -413,7 +413,7 @@ void RasterizerOpenGL::DispatchCompute() {
void RasterizerOpenGL::ResetCounter(VideoCommon::QueryType type) {
const auto query_cache_type = MaxwellToVideoCoreQuery(type);
if (!query_cache_type.has_value()) {
- UNIMPLEMENTED_MSG("Reset query type: {}", type);
+ UNIMPLEMENTED_IF_MSG(type != VideoCommon::QueryType::Payload, "Reset query type: {}", type);
return;
}
query_cache.ResetCounter(*query_cache_type);