RetroArch/gfx/common
Ophidon 7b711214a7
Slang Subframe Shaders Feature (#16209)
Adds support for sub-frame shaders to vulkan/glcore/dx10-11-12.

Builds on the concept already present for frame duplication in use for BFI, to present multiple 'sub' frames per real frame to the shaders, so they can run at a higher framerate than the content framerate. Must be enabled via subframe shaders setting under synchronization settings to be active.

Will allow BFI to be implemented inside of the shaders, among any other use for the higher framerate shader authors can devise.

CurrentSubFrame and TotalSubFrames have been available inside the shaders to track what they want to do on an given subframe. TotalSubFrames will always be 1 when the setting is disabled (and when in menu/ff/pause). Framecount will not increment on sub-frames, as it does not for injected bfi frames now. Should not interfere with any existing shaders that do not check for subframes.
2024-02-09 03:12:55 -08:00
..
metal Get rid of initial for loop C89 noncompliance 2023-04-23 10:47:09 +02:00
wayland Rebase of wakira's wp_fractional_scale_v1 support (#15965) 2023-11-30 03:29:38 -08:00
angle_common.c Remove asserts 2023-01-09 00:51:05 +01:00
angle_common.h
caca_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
ctr_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
d3d8_defines.h Cleanups 2023-06-01 20:29:05 +02:00
d3d9_common.c merge d3d8_common.c into d3d8.c 2023-06-01 20:14:19 +02:00
d3d9_common.h Rename d3d_w32_font.c to d3d9x_w32_font.c 2023-05-31 21:32:52 +02:00
d3d10_common.c Combine gfx_display files into video drivers 2023-05-31 23:58:06 +02:00
d3d10_defines.h Slang Subframe Shaders Feature (#16209) 2024-02-09 03:12:55 -08:00
d3d11_common.c Combine gfx_display files into video drivers 2023-05-31 23:58:06 +02:00
d3d11_defines.h Slang Subframe Shaders Feature (#16209) 2024-02-09 03:12:55 -08:00
d3d12_common.c Combine gfx_display files into video drivers 2023-05-31 23:58:06 +02:00
d3d12_defines.h Slang Subframe Shaders Feature (#16209) 2024-02-09 03:12:55 -08:00
d3d_common.c
d3d_common.h
d3dcompiler_common.c Cleanups 2023-06-01 22:52:05 +02:00
d3dcompiler_common.h Cleanups 2023-06-01 22:52:05 +02:00
dbus_common.c
dbus_common.h
drm_common.c
drm_common.h
dxgi_common.c Silence more signedness warnings 2023-06-14 19:51:31 +02:00
dxgi_common.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
egl_common.c (Wayland) Cleanups 2023-06-20 07:08:14 +02:00
egl_common.h Add function prototype to egl_common.h 2023-02-21 22:26:52 +01:00
gdi_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
gl1_defines.h Squashed commit of the following: (#16142) 2024-01-19 23:11:31 -08:00
gl2_common.h Squashed commit of the following: (#16142) 2024-01-19 23:11:31 -08:00
gl3_defines.h Squashed commit of the following: (#16142) 2024-01-19 23:11:31 -08:00
gl_common.c
gl_common.h
gx2_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
metal_common.h
orbis_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
ps2_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
rsx_defines.h Merge video_coord_array.c into video_driver.c 2023-08-15 16:02:12 +02:00
sdl2_common.c
sdl2_common.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
sixel_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
switch_defines.h Cleanups 2023-06-01 19:59:11 +02:00
vga_defines.h Rename common files to _defines.h 2023-05-31 22:46:34 +02:00
vita2d_defines.h Merge video_coord_array.c into video_driver.c 2023-08-15 16:02:12 +02:00
vksym.h Updated Vulkan on Metal for OSX via MoltenVK 2023-01-07 07:38:42 +01:00
vulkan_common.c Remove unneeded video_driver_set_gpu_device_string/get_gpu_device_string 2023-09-06 03:08:48 +02:00
vulkan_common.h Cleanups 2023-06-01 19:59:11 +02:00
wayland_common.c Rebase of wakira's wp_fractional_scale_v1 support (#15965) 2023-11-30 03:29:38 -08:00
wayland_common.h (Wayland) Cleanups 2023-06-20 07:08:14 +02:00
win32_common.c Slang Subframe Shaders Feature (#16209) 2024-02-09 03:12:55 -08:00
win32_common.h Cut down on update_title code duplication 2023-07-16 08:00:49 +02:00
x11_common.c Cleanups, style nits, try to reduce some more strlens, etc. 2023-08-17 18:20:45 +02:00
x11_common.h Remove extra function prototype 2023-06-20 12:00:17 +02:00
xinerama_common.c (X11/Xinerama) Style nits; slightly optimize x11_get_metrics 2022-09-05 19:44:15 +02:00
xinerama_common.h