mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Start hooking up extra shader capability stats - not done yet
This commit is contained in:
parent
5e684da3d2
commit
2c024f400e
@ -1674,6 +1674,9 @@ static uint32_t d3d10_get_flags(void *data)
|
||||
uint32_t flags = 0;
|
||||
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_MENU_FRAME_FILTERING);
|
||||
#if defined(HAVE_SLANG) && defined(HAVE_SPIRV_CROSS)
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_SHADERS_SLANG);
|
||||
#endif
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
@ -1741,6 +1741,7 @@ static uint32_t d3d11_get_flags(void *data)
|
||||
uint32_t flags = 0;
|
||||
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_MENU_FRAME_FILTERING);
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_SHADERS_SLANG);
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
@ -1788,6 +1788,7 @@ static uint32_t d3d12_get_flags(void *data)
|
||||
uint32_t flags = 0;
|
||||
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_MENU_FRAME_FILTERING);
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_SHADERS_SLANG);
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
@ -1717,6 +1717,7 @@ static uint32_t gl_core_get_flags(void *data)
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_HARD_SYNC);
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_BLACK_FRAME_INSERTION);
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_MENU_FRAME_FILTERING);
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_SHADERS_SLANG);
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
@ -1706,8 +1706,17 @@ static void wiiu_gfx_set_osd_msg(void *data,
|
||||
|
||||
}
|
||||
|
||||
static uint32_t wiiu_gfx_get_flags(void *data)
|
||||
{
|
||||
uint32_t flags = 0;
|
||||
|
||||
BIT32_SET(flags, GFX_CTX_FLAGS_SHADERS_SLANG);
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
||||
static const video_poke_interface_t wiiu_poke_interface = {
|
||||
NULL, /* get_flags */
|
||||
wiiu_gfx_get_flags,
|
||||
NULL, /* set_coords */
|
||||
NULL, /* set_mvp */
|
||||
wiiu_gfx_load_texture,
|
||||
|
@ -120,7 +120,11 @@ enum display_flags
|
||||
GFX_CTX_FLAGS_HARD_SYNC,
|
||||
GFX_CTX_FLAGS_BLACK_FRAME_INSERTION,
|
||||
GFX_CTX_FLAGS_MENU_FRAME_FILTERING,
|
||||
GFX_CTX_FLAGS_ADAPTIVE_VSYNC
|
||||
GFX_CTX_FLAGS_ADAPTIVE_VSYNC,
|
||||
GFX_CTX_FLAGS_SHADERS_GLSL,
|
||||
GFX_CTX_FLAGS_SHADERS_CG,
|
||||
GFX_CTX_FLAGS_SHADERS_HLSL,
|
||||
GFX_CTX_FLAGS_SHADERS_SLANG
|
||||
};
|
||||
|
||||
enum shader_uniform_type
|
||||
|
Loading…
x
Reference in New Issue
Block a user