summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.cpp
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2021-02-24 23:04:51 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2021-02-24 23:26:53 +0100
commitd31dbb1bc12505d503cb97b57518a3e48cb2da11 (patch)
tree505b0290cfc653238966e1e32a88530a7d4d30b1 /src/video_core/renderer_opengl/gl_device.cpp
parentMerge pull request #5981 from lat9nq/ci-add-clang (diff)
downloadyuzu-d31dbb1bc12505d503cb97b57518a3e48cb2da11.tar
yuzu-d31dbb1bc12505d503cb97b57518a3e48cb2da11.tar.gz
yuzu-d31dbb1bc12505d503cb97b57518a3e48cb2da11.tar.bz2
yuzu-d31dbb1bc12505d503cb97b57518a3e48cb2da11.tar.lz
yuzu-d31dbb1bc12505d503cb97b57518a3e48cb2da11.tar.xz
yuzu-d31dbb1bc12505d503cb97b57518a3e48cb2da11.tar.zst
yuzu-d31dbb1bc12505d503cb97b57518a3e48cb2da11.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.cpp')
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp
index 48d5c4a5e..1ae5f1d62 100644
--- a/src/video_core/renderer_opengl/gl_device.cpp
+++ b/src/video_core/renderer_opengl/gl_device.cpp
@@ -239,6 +239,7 @@ Device::Device() {
has_nv_viewport_array2 = GLAD_GL_NV_viewport_array2;
has_vertex_buffer_unified_memory = GLAD_GL_NV_vertex_buffer_unified_memory;
has_debugging_tool_attached = IsDebugToolAttached(extensions);
+ has_depth_buffer_float = HasExtension(extensions, "GL_NV_depth_buffer_float");
// At the moment of writing this, only Nvidia's driver optimizes BufferSubData on exclusive
// uniform buffers as "push constants"
@@ -275,6 +276,7 @@ Device::Device(std::nullptr_t) {
has_image_load_formatted = true;
has_texture_shadow_lod = true;
has_variable_aoffi = true;
+ has_depth_buffer_float = true;
}
bool Device::TestVariableAoffi() {