summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2023-06-26 01:06:51 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2023-06-26 01:06:51 +0200
commit4f160633d369b702a45ace9b6ff133312761c5f8 (patch)
treeb8de8656e3c47f0c8cb0576b607eadc8685a9222 /src/video_core/renderer_opengl/gl_device.h
parentshaders: Track local memory usage (diff)
downloadyuzu-4f160633d369b702a45ace9b6ff133312761c5f8.tar
yuzu-4f160633d369b702a45ace9b6ff133312761c5f8.tar.gz
yuzu-4f160633d369b702a45ace9b6ff133312761c5f8.tar.bz2
yuzu-4f160633d369b702a45ace9b6ff133312761c5f8.tar.lz
yuzu-4f160633d369b702a45ace9b6ff133312761c5f8.tar.xz
yuzu-4f160633d369b702a45ace9b6ff133312761c5f8.tar.zst
yuzu-4f160633d369b702a45ace9b6ff133312761c5f8.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h
index ad27264e5..a5a6bbbba 100644
--- a/src/video_core/renderer_opengl/gl_device.h
+++ b/src/video_core/renderer_opengl/gl_device.h
@@ -192,6 +192,10 @@ public:
return supports_conditional_barriers;
}
+ bool HasLmemPerfBug() const {
+ return has_lmem_perf_bug;
+ }
+
private:
static bool TestVariableAoffi();
static bool TestPreciseBug();
@@ -238,6 +242,7 @@ private:
bool can_report_memory{};
bool strict_context_required{};
bool supports_conditional_barriers{};
+ bool has_lmem_perf_bug{};
std::string vendor_name;
};