3
0
Fork 0
forked from suyu/suyu

gl_shader_cache: Conditionally use viewport mask

This commit is contained in:
ReinUsesLisp 2021-05-21 20:47:48 -03:00 committed by ameerj
parent c31521512f
commit 1bccb43cbe

View file

@ -266,7 +266,7 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo
.support_vote = true, .support_vote = true,
.support_viewport_index_layer_non_geometry = .support_viewport_index_layer_non_geometry =
device.HasNvViewportArray2() || device.HasVertexViewportLayer(), device.HasNvViewportArray2() || device.HasVertexViewportLayer(),
.support_viewport_mask = true, .support_viewport_mask = device.HasNvViewportArray2(),
.support_typeless_image_loads = device.HasImageLoadFormatted(), .support_typeless_image_loads = device.HasImageLoadFormatted(),
.support_demote_to_helper_invocation = false, .support_demote_to_helper_invocation = false,
.support_int64_atomics = false, .support_int64_atomics = false,