mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
Support EXT_blend_func_extended in GLES.
This lets us get dual source blending on GLES targets.
This commit is contained in:
parent
3a04c77180
commit
5fa4c8d930
3 changed files with 8 additions and 1 deletions
|
@ -560,6 +560,7 @@ void ProgramShaderCache::CreateHeader()
|
|||
"%s\n" // AEP
|
||||
"%s\n" // texture buffer
|
||||
"%s\n" // ES texture buffer
|
||||
"%s\n" // ES dual source blend
|
||||
|
||||
// Precision defines for GLSL ES
|
||||
"%s\n"
|
||||
|
@ -599,6 +600,7 @@ void ProgramShaderCache::CreateHeader()
|
|||
, g_ogl_config.bSupportsAEP ? "#extension GL_ANDROID_extension_pack_es31a : enable" : ""
|
||||
, v<GLSL_140 && g_ActiveConfig.backend_info.bSupportsPaletteConversion ? "#extension GL_ARB_texture_buffer_object : enable" : ""
|
||||
, SupportedESTextureBuffer.c_str()
|
||||
, is_glsles && g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "#extension GL_EXT_blend_func_extended : enable" : ""
|
||||
|
||||
, is_glsles ? "precision highp float;" : ""
|
||||
, is_glsles ? "precision highp int;" : ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue