mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Implement dual-source blending in shader
For some GLES drivers that don't support dual-source blending, but do support GL_EXT_shader_framebuffer_fetch, this might be useful.
This commit is contained in:
@ -35,6 +35,13 @@ enum class ES_TEXBUF_TYPE
|
||||
TEXBUF_EXT
|
||||
};
|
||||
|
||||
enum class ES_FB_FETCH_TYPE
|
||||
{
|
||||
FB_FETCH_NONE,
|
||||
FB_FETCH_EXT,
|
||||
FB_FETCH_ARM,
|
||||
};
|
||||
|
||||
// ogl-only config, so not in VideoConfig.h
|
||||
struct VideoConfig
|
||||
{
|
||||
@ -59,6 +66,7 @@ struct VideoConfig
|
||||
bool bSupportsAniso;
|
||||
bool bSupportsBitfield;
|
||||
bool bSupportsTextureSubImage;
|
||||
ES_FB_FETCH_TYPE SupportedFramebufferFetch;
|
||||
|
||||
const char* gl_vendor;
|
||||
const char* gl_renderer;
|
||||
|
Reference in New Issue
Block a user