diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-30 06:53:26 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:36 +0200 |
commit | e35ffbbeb0f85f676416fcb8f0bb0207671f379d (patch) | |
tree | d33fca2f27f8c680c43dfb34da8abd738b0a5705 /src/video_core/renderer_opengl/gl_device.h | |
parent | glsl: Implement VOTE (diff) | |
download | yuzu-e35ffbbeb0f85f676416fcb8f0bb0207671f379d.tar yuzu-e35ffbbeb0f85f676416fcb8f0bb0207671f379d.tar.gz yuzu-e35ffbbeb0f85f676416fcb8f0bb0207671f379d.tar.bz2 yuzu-e35ffbbeb0f85f676416fcb8f0bb0207671f379d.tar.lz yuzu-e35ffbbeb0f85f676416fcb8f0bb0207671f379d.tar.xz yuzu-e35ffbbeb0f85f676416fcb8f0bb0207671f379d.tar.zst yuzu-e35ffbbeb0f85f676416fcb8f0bb0207671f379d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 5 |
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 9b9402c29..ff0ff2b08 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -128,6 +128,10 @@ public: return has_amd_shader_half_float; } + bool IsWarpSizePotentiallyLargerThanGuest() const { + return warp_size_potentially_larger_than_guest; + } + private: static bool TestVariableAoffi(); static bool TestPreciseBug(); @@ -161,6 +165,7 @@ private: bool has_depth_buffer_float{}; bool has_nv_gpu_shader_5{}; bool has_amd_shader_half_float{}; + bool warp_size_potentially_larger_than_guest{}; }; } // namespace OpenGL |