Commit Graph

34 Commits

Author SHA1 Message Date
BearOso
bfdbc28357 vulkan: Actually submit one-time command buffer. 2023-04-17 15:42:28 -05:00
BearOso
3c50e995ee Win32: Allow the Vulkan driver to fail at the loader stage. 2023-03-24 14:39:31 -05:00
BearOso
f9374e527b Update glslang to bleeding edge. 2023-03-10 17:24:40 -06:00
BearOso
803125ffe9 win32: Move frame throttle into drivers for precision. 2023-03-07 14:01:29 -06:00
BearOso
309f9e650d vulkan: Move throttle out of swapchain.
Make the swapchain wrapper more flexible, allowing deferring the
swap from the end_frame function.
2023-03-07 14:01:29 -06:00
BearOso
b82edaac96 vulkan: Add a throttler before present for precise frame rates. 2023-03-07 14:01:29 -06:00
BearOso
d8584b9d94 slang: Fix race condition to initialize glslang. 2023-03-07 14:01:29 -06:00
BearOso
130e1509da Revert "vulkan/slang: Allow a cache for spv."
This reverts commit db554aa8cd62f083b93d4b2e7147c5d2500366d9.
2023-03-07 14:01:29 -06:00
BearOso
8907541f28 vulkan/slang: Allow a cache for spv. 2023-03-07 14:01:29 -06:00
BearOso
1c787cd309 slang: Remove remnants of using Snes9x's conffile. 2023-03-07 14:01:29 -06:00
BearOso
8e38e14ea9 Vulkan/Slang: Load shader files asynchronously. 2023-03-07 14:01:29 -06:00
BearOso
4f08da4cd8 vulkan/win32: Provide reasonable default swapchain.
If extents are reported 0xffffffff, swapchain expects a provided
default size.
2023-03-07 14:01:29 -06:00
BearOso
0bbecf042a win32: Use simple vulkan output. 2023-03-07 13:58:22 -06:00
BearOso
bb210dc1a1 Gtk: Move simple vulkan output into separate class. 2023-03-07 13:58:22 -06:00
BearOso
f67bdbef3f vulkan: Handle case when no vulkan library is available.
Use one copy of the dynamic loader, if it can't load a library,
drop out of instance creation.
2023-03-07 13:58:22 -06:00
BearOso
edbffb9a53 vulkan: Keep dynamic loader around. 2023-03-07 13:58:22 -06:00
BearOso
2fb67c7329 Gtk: Clean up asan leaks. 2023-03-07 13:58:22 -06:00
BearOso
b7704733ec win32: Fix vk_mem_alloc.h compatibility break.
Set WINVER to less than Vista to maintain compatibility with Windows XP.
2023-03-07 13:58:22 -06:00
BearOso
076c6bfaf4 Use length instead of size with strings. 2023-03-07 13:58:22 -06:00
BearOso
b578ce434b Remove fmt from shader files. 2023-03-07 13:58:22 -06:00
BearOso
56a6396c9a Favor BGRA over RGBA. 2023-03-07 13:58:22 -06:00
BearOso
246a44a940 Error handling. 2023-03-07 13:58:22 -06:00
BearOso
fd3a9dba14 Fix a couple validation issues. 2023-03-07 13:58:22 -06:00
BearOso
2c7d5f7a4d Working Win32/Vulkan shader support. 2023-03-07 13:58:22 -06:00
BearOso
44a2958c31 Windows Vulkan working generically. 2023-03-07 13:58:22 -06:00
BearOso
daa0e168e8 Getting win32 ready for Vulkan. 2023-03-07 13:58:22 -06:00
BearOso
4305bb7be1 Fix parameter misordering. Fix a couple sync issues. 2023-03-07 13:58:22 -06:00
BearOso
23cf7ec056 Restrict max latency to 3 frames. 2023-03-07 13:58:21 -06:00
BearOso
e4768f9b80 Wayland compatibility with Vulkan. 2023-03-07 13:58:21 -06:00
BearOso
10a2cd19d1 Remove texture canonicalization on global file name. 2023-03-07 13:58:21 -06:00
BearOso
ed37f930aa Clean up whitespace and remove a few test files. 2023-03-07 13:58:21 -06:00
BearOso
259dfd07ae Vulkan support.
Gtk port support. Breaks other platforms.
2023-03-07 13:58:21 -06:00
BearOso
88f4d66de8 Move GPU related submodules to external. 2022-03-18 15:49:29 -05:00
BearOso
cf2d1bf791 Gtk: OpenGL: Fix non-PBO output path. 2021-05-15 11:23:12 -05:00