summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-22 01:47:48 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit1bccb43cbecdbf069f5c86086670a8d5440408e3 (patch)
tree25431f9e0d09fcb999d885d9b622d35eab38ef2d
parentgl_shader_cache,glasm: Conditionally use typeless image reads extension (diff)
downloadyuzu-1bccb43cbecdbf069f5c86086670a8d5440408e3.tar
yuzu-1bccb43cbecdbf069f5c86086670a8d5440408e3.tar.gz
yuzu-1bccb43cbecdbf069f5c86086670a8d5440408e3.tar.bz2
yuzu-1bccb43cbecdbf069f5c86086670a8d5440408e3.tar.lz
yuzu-1bccb43cbecdbf069f5c86086670a8d5440408e3.tar.xz
yuzu-1bccb43cbecdbf069f5c86086670a8d5440408e3.tar.zst
yuzu-1bccb43cbecdbf069f5c86086670a8d5440408e3.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 2c0510f11..cf03280fa 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -266,7 +266,7 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo
.support_vote = true,
.support_viewport_index_layer_non_geometry =
device.HasNvViewportArray2() || device.HasVertexViewportLayer(),
- .support_viewport_mask = true,
+ .support_viewport_mask = device.HasNvViewportArray2(),
.support_typeless_image_loads = device.HasImageLoadFormatted(),
.support_demote_to_helper_invocation = false,
.support_int64_atomics = false,