aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_device.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-06-20 07:41:55 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-06-20 22:14:32 -0400
commit1e65da971bf6edd5611e6e409ba1cc4f99e58655 (patch)
treec845e59c2b1725fafce706ba7c40230f7e9d159d /src/video_core/renderer_opengl/gl_device.h
parent7d1dca4c981d04bcb18cd5ecc6a4fe3f71d85560 (diff)
gl_device: Check for GL_EXT_texture_shadow_lod
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.h')
-rw-r--r--src/video_core/renderer_opengl/gl_device.h5
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 145347943..c86e709b1 100644
--- a/src/video_core/renderer_opengl/gl_device.h
+++ b/src/video_core/renderer_opengl/gl_device.h
@@ -68,6 +68,10 @@ public:
return has_image_load_formatted;
}
+ bool HasTextureShadowLod() const {
+ return has_texture_shadow_lod;
+ }
+
bool HasASTC() const {
return has_astc;
}
@@ -110,6 +114,7 @@ private:
bool has_shader_ballot{};
bool has_vertex_viewport_layer{};
bool has_image_load_formatted{};
+ bool has_texture_shadow_lod{};
bool has_astc{};
bool has_variable_aoffi{};
bool has_component_indexing_bug{};