diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-06-15 23:23:57 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:38 +0200 |
commit | d36f667bc0adaa9f50d53efb4c908aadc38921a6 (patch) | |
tree | 13a6a6106ca576214db66d50a618b404cc5c7cac /src/video_core/renderer_opengl/gl_device.cpp | |
parent | glsl: Move gl_Position/generic attribute initialization to EmitProlgue (diff) | |
download | yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.gz yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.bz2 yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.lz yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.xz yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.zst yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp index bf08a6d93..5838fc02f 100644 --- a/src/video_core/renderer_opengl/gl_device.cpp +++ b/src/video_core/renderer_opengl/gl_device.cpp @@ -162,6 +162,7 @@ Device::Device() { has_amd_shader_half_float = GLAD_GL_AMD_gpu_shader_half_float; has_sparse_texture_2 = GLAD_GL_ARB_sparse_texture2; warp_size_potentially_larger_than_guest = !is_nvidia && !is_intel; + need_fastmath_off = is_nvidia; // At the moment of writing this, only Nvidia's driver optimizes BufferSubData on exclusive // uniform buffers as "push constants" |