summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-01-06 08:39:51 +0100
committerGitHub <noreply@github.com>2021-01-06 08:39:51 +0100
commite8d40559d50b952335f4899392944a9dca418b62 (patch)
tree94cbbc1e616e12ecc6b9c167f630649b829368fe /src/video_core/renderer_opengl/gl_device.cpp
parentMerge pull request #5250 from lat9nq/appimage (diff)
parentgl_texture_cache: Avoid format views on Intel and AMD (diff)
downloadyuzu-e8d40559d50b952335f4899392944a9dca418b62.tar
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.gz
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.bz2
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.lz
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.xz
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.zst
yuzu-e8d40559d50b952335f4899392944a9dca418b62.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.cpp')
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp
index b24179d59..81b71edfb 100644
--- a/src/video_core/renderer_opengl/gl_device.cpp
+++ b/src/video_core/renderer_opengl/gl_device.cpp
@@ -208,6 +208,7 @@ Device::Device()
const bool is_nvidia = vendor == "NVIDIA Corporation";
const bool is_amd = vendor == "ATI Technologies Inc.";
+ const bool is_intel = vendor == "Intel";
bool disable_fast_buffer_sub_data = false;
if (is_nvidia && version == "4.6.0 NVIDIA 443.24") {
@@ -231,6 +232,7 @@ Device::Device()
has_variable_aoffi = TestVariableAoffi();
has_component_indexing_bug = is_amd;
has_precise_bug = TestPreciseBug();
+ has_broken_texture_view_formats = is_amd || is_intel;
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);
@@ -248,6 +250,8 @@ Device::Device()
LOG_INFO(Render_OpenGL, "Renderer_VariableAOFFI: {}", has_variable_aoffi);
LOG_INFO(Render_OpenGL, "Renderer_ComponentIndexingBug: {}", has_component_indexing_bug);
LOG_INFO(Render_OpenGL, "Renderer_PreciseBug: {}", has_precise_bug);
+ LOG_INFO(Render_OpenGL, "Renderer_BrokenTextureViewFormats: {}",
+ has_broken_texture_view_formats);
if (Settings::values.use_assembly_shaders.GetValue() && !use_assembly_shaders) {
LOG_ERROR(Render_OpenGL, "Assembly shaders enabled but not supported");