summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.h
diff options
context:
space:
mode:
authorWollnashorn <Wollnashorn@users.noreply.github.com>2023-04-05 03:02:24 +0200
committerWollnashorn <Wollnashorn@users.noreply.github.com>2023-04-08 16:12:44 +0200
commitfe91066f4673f7a3ee87235f08b72db4910eb01c (patch)
tree7228ef7eb04f1f0ceb289d54daeba42d0d2719c8 /src/video_core/renderer_opengl/gl_device.h
parentshader_recompiler: Add subpixel offset for correct rounding at `ImageGather` (diff)
downloadyuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.gz
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.bz2
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.lz
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.xz
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.zst
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_device.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h
index e8104c4de..cc0b95f1a 100644
--- a/src/video_core/renderer_opengl/gl_device.h
+++ b/src/video_core/renderer_opengl/gl_device.h
@@ -160,10 +160,6 @@ public:
return need_fastmath_off;
}
- bool NeedsGatherSubpixelOffset() const {
- return need_gather_subpixel_offset;
- }
-
bool HasCbufFtouBug() const {
return has_cbuf_ftou_bug;
}
@@ -180,6 +176,10 @@ public:
return vendor_name == "ATI Technologies Inc.";
}
+ bool IsIntel() const {
+ return vendor_name == "Intel";
+ }
+
bool CanReportMemoryUsage() const {
return can_report_memory;
}
@@ -229,7 +229,6 @@ private:
bool has_draw_texture{};
bool warp_size_potentially_larger_than_guest{};
bool need_fastmath_off{};
- bool need_gather_subpixel_offset{};
bool has_cbuf_ftou_bug{};
bool has_bool_ref_bug{};
bool can_report_memory{};