summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-18 08:54:13 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-06-24 07:36:14 +0200
commit73fb3a304b215abce3cfb1c0c5eb2b43740b65ed (patch)
tree0b31d382ad261cd413c1d376867893db3066c369 /src/video_core/renderer_opengl/gl_device.h
parentgl_stream_buffer: Always use a non-coherent buffer (diff)
downloadyuzu-73fb3a304b215abce3cfb1c0c5eb2b43740b65ed.tar
yuzu-73fb3a304b215abce3cfb1c0c5eb2b43740b65ed.tar.gz
yuzu-73fb3a304b215abce3cfb1c0c5eb2b43740b65ed.tar.bz2
yuzu-73fb3a304b215abce3cfb1c0c5eb2b43740b65ed.tar.lz
yuzu-73fb3a304b215abce3cfb1c0c5eb2b43740b65ed.tar.xz
yuzu-73fb3a304b215abce3cfb1c0c5eb2b43740b65ed.tar.zst
yuzu-73fb3a304b215abce3cfb1c0c5eb2b43740b65ed.zip
Diffstat (limited to '')
-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 c86e709b1..e1d811966 100644
--- a/src/video_core/renderer_opengl/gl_device.h
+++ b/src/video_core/renderer_opengl/gl_device.h
@@ -72,6 +72,10 @@ public:
return has_texture_shadow_lod;
}
+ bool HasVertexBufferUnifiedMemory() const {
+ return has_vertex_buffer_unified_memory;
+ }
+
bool HasASTC() const {
return has_astc;
}
@@ -115,6 +119,7 @@ private:
bool has_vertex_viewport_layer{};
bool has_image_load_formatted{};
bool has_texture_shadow_lod{};
+ bool has_vertex_buffer_unified_memory{};
bool has_astc{};
bool has_variable_aoffi{};
bool has_component_indexing_bug{};