mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
VideoCommon: Use coarse derivatives for Manual Texture Sampling if possible
This commit is contained in:
parent
ddf2691395
commit
51e3334526
10 changed files with 37 additions and 4 deletions
|
@ -483,6 +483,8 @@ Renderer::Renderer(std::unique_ptr<GLContext> main_gl_context, float backbuffer_
|
|||
GLExtensions::Supports("GL_EXT_texture_compression_s3tc");
|
||||
g_Config.backend_info.bSupportsBPTCTextures =
|
||||
GLExtensions::Supports("GL_ARB_texture_compression_bptc");
|
||||
g_Config.backend_info.bSupportsCoarseDerivatives =
|
||||
GLExtensions::Supports("GL_ARB_derivative_control") || GLExtensions::Version() >= 450;
|
||||
|
||||
if (m_main_gl_context->IsGLES())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue