twinaphex
163be3ccfd
(vulkan_common.c) Prevent some more collissions in the future
2018-03-28 17:41:04 +02:00
twinaphex
de1efd7878
This hack is no longer needed with latest nvidia windows
...
drivers (390.77)
2018-01-31 18:10:53 +01:00
twinaphex
2178b6d10f
Vulkan temporary workaround for swapchain recycling (nvidia) -
...
Both swapchain recreation methods are proper andwithin the Vulkan specs.
The differnece is retroarch follows method (apparently proposed in
vulkan samples) that "hopes" the driver will reuse some of the old
swapchain resources, while the other method destroys everything and
recreates from scratch. At the moment on Nvidia drivers the second
method is stable while the first method is unreliable in all cases
today.
2018-01-21 04:40:01 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Themaister
f8447c4648
Set correct buffer size.
2017-12-09 17:28:20 +01:00
Themaister
75b84b4f94
Support pending swapchain creation.
2017-12-09 17:28:20 +01:00
Themaister
ac42b87400
Recreate swapchain directly if vkAcquireNextImageKHR fails.
2017-12-09 17:28:20 +01:00
Themaister
714684a4d3
Don't wait for WSI fence unless it has been signalled.
2017-12-09 17:28:20 +01:00
twinaphex
d5b3104cfb
Cleanups/warning fixes
2017-12-06 19:51:07 +01:00
Hans-Kristian Arntzen
5c67fc3040
Vulkan: Enable VK_KHR_sampler_mirror_clamp_to_edge extension.
2017-10-01 20:20:45 +02:00
twinaphex
9c32d03c1e
(Vulkan/Win32) C89_BUILD fixes
2017-08-12 17:56:30 +02:00
twinaphex
126a5bf121
Use string_is_equal_fast/string_is_not_equal_fast
2017-05-16 04:00:37 +02:00
aliaspider
36137d22e5
Vulkan: use the command buffer provided as parameter in
...
vulkan_copy_staging_to_dynamic.
2017-05-15 05:35:17 +01:00
twinaphex
05e4ec733e
Move uint variables
2017-04-28 21:03:04 +02:00
twinaphex
765e636214
(Vulkan) Cleanups
2017-04-24 17:21:29 +02:00
Hans-Kristian Arntzen
2d88530c98
Vulkan: Simple snow pipeline works.
...
Some other fixes too.
2017-02-20 20:53:59 +01:00
Hans-Kristian Arntzen
6395907887
Vulkan: Find supported composite alpha in swapchain.
2017-02-13 16:30:02 +01:00
twinaphex
374fd57270
Remove the few performance counters that depend on runloop_ctl
2017-01-25 18:15:58 +01:00
twinaphex
6661c0fb94
Rewrite performance counter stop/start/init into macros
2017-01-25 16:53:06 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
Hans-Kristian Arntzen
4c99809cde
Vulkan: Fix VSync toggling on Windows.
...
Retarded bug, but haven't actually had access to a Windows machine until
now.
2016-12-17 12:06:43 +01:00
twinaphex
b43f786f89
Cleanups
2016-09-08 08:15:40 +02:00
twinaphex
467451fccc
Cleanup more header includes
2016-09-01 18:18:55 +02:00
twinaphex
ba7d638b99
Use string_is_equal
2016-08-29 18:46:41 +02:00
Hans-Kristian Arntzen
96818a297c
Vulkan: Fix validation errors with OriginalHistory.
...
For some reason, OriginalHistory blit happened inside a render pass.
Also add more TRANSFER_SRC_BIT caps to images as they might have to be
copied to history.
2016-08-07 01:09:15 +02:00
Hans-Kristian Arntzen
4ac9ebd579
Vulkan: Allow configuring mip/wrap/filter for LUTs.
...
LUTs are feature complete with CGP now.
2016-07-31 16:16:47 +02:00
Hans-Kristian Arntzen
0eca956789
Vulkan: Create image views with right amount of mip levels.
2016-07-31 14:01:39 +02:00
Hans-Kristian Arntzen
4e8e79eabd
Vulkan: Add mipmapping support.
2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen
7813d40c9e
Log if Vulkan debug layers are enabled.
2016-07-31 12:54:10 +02:00
Hans-Kristian Arntzen
f54b0c0ff0
Vulkan: Implement swap_interval > 1.
...
We have to fake it by duping since Vulkan has no native support for
this.
2016-07-24 00:34:48 +02:00
Hans-Kristian Arntzen
8c1b935969
Vulkan: Implement BFI.
2016-07-24 00:07:32 +02:00
twinaphex
4e68bc0b53
CXX_BUILD fix
2016-07-21 21:54:43 +02:00
Hans-Kristian Arntzen
8569028189
Vulkan: Use manual memory management for cached/incoherent devices.
2016-07-15 16:12:30 +00:00
Hans-Kristian Arntzen
f5bddd45e8
Vulkan: Don't query layout if we have optimal tiling.
2016-07-14 23:15:39 +02:00
Hans-Kristian Arntzen
d382e1069e
Basic VK_KHR_display integration works! :)
2016-07-07 19:28:27 +02:00
Hans-Kristian Arntzen
d2fafc5451
Sketch out vulkan_create_display_surface.
2016-07-06 20:27:39 +02:00
Hans-Kristian Arntzen
e9046dd06f
Begin implementing VK_KHR_display.
2016-07-06 19:37:47 +02:00
twinaphex
9fab75c4b5
Cleanups; 80-char width limit
2016-06-30 07:40:25 +02:00
Hans-Kristian Arntzen
c80127d29d
Vulkan: Hook up async compute test more properly.
...
Supports multiple queues and queues from different families.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
4abb0ef331
Vulkan: Cache destroy device callback.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
6841b5ad00
Vulkan: Keep dylib around if caching instance.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
54c1759f45
Vulkan: Make a more general purpose symbol loader.
...
Avoids painful manual loading and wrapping function pointers everywhere
...
Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen
1da2e2dbab
Vulkan: Hook up negotiation interface device creation.
2016-06-26 10:40:07 +02:00
Hans-Kristian Arntzen
10a6d7a458
Vulkan: Begin hooking up negotiation interface.
2016-06-25 21:01:36 +02:00
Hans-Kristian Arntzen
972a5db7ae
Vulkan: Fix shader module leak.
2016-06-25 14:06:14 +02:00
Hans-Kristian Arntzen
de36f572d1
Vulkan: Fix more validation issues.
2016-06-25 14:01:10 +02:00
Hans-Kristian Arntzen
07880e3f45
Vulkan: Begin hooking up validation layers.
...
Found lots of regressions due to bad reformatting.
2016-06-25 13:52:33 +02:00
Hans-Kristian Arntzen
d043123f71
Vulkan: Add support for queue transfers in HW rendering.
2016-06-25 11:39:52 +02:00
Hans-Kristian Arntzen
82c7aa0e6f
Use max swapchain image setting when creating swapchain.
2016-06-25 09:52:46 +02:00
Hans-Kristian Arntzen
21be54501b
Log which present modes are supported.
2016-06-13 22:00:32 +02:00