diff options
author | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-04-05 03:02:24 +0200 |
---|---|---|
committer | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-04-08 16:12:44 +0200 |
commit | fe91066f4673f7a3ee87235f08b72db4910eb01c (patch) | |
tree | 7228ef7eb04f1f0ceb289d54daeba42d0d2719c8 /src/video_core/renderer_opengl/gl_device.h | |
parent | shader_recompiler: Add subpixel offset for correct rounding at `ImageGather` (diff) | |
download | yuzu-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.h | 9 |
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{}; |