glsl: Conditionally use fine/coarse derivatives based on device support

This commit is contained in:
ameerj 2021-06-14 23:33:26 -04:00
parent 6eea88d614
commit 3b339fbbf6
4 changed files with 29 additions and 4 deletions

View file

@ -187,6 +187,7 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo
.support_gl_warp_intrinsics = false,
.support_gl_variable_aoffi = device.HasVariableAoffi(),
.support_gl_sparse_textures = device.HasSparseTexture2(),
.support_gl_derivative_control = device.HasDerivativeControl(),
.warp_size_potentially_larger_than_guest = device.IsWarpSizePotentiallyLargerThanGuest(),