godot/drivers
Matias N. Goldberg 4ce41495b1 Fix validation layer warnings
1. Validation layers on Windows were complaining w/
VUID-VkSwapchainCreateInfoKHR-surface-01270 that we were not calling
vkGetPhysicalDeviceSurfaceSupportKHR before vkCreateSwapchainKHR.

2. Godot was only calling vkGetPhysicalDeviceSurfaceSupportKHR at
startup, but it should be doing this for every window w/ a new surface
it wants to create, not just the first one.
- In practice this will likely not make a difference. If
vkGetPhysicalDeviceSurfaceSupportKHR returns false after initialization,
there's nothing we can do about it and it is likely because something
else went terribly wrong, which is why the error message is worded like
that.
- This is mostly to shut up validation layers. Though technically,
the layers are right.

3. Do not call vkGetPhysicalDeviceSurfaceSupportKHR on queues we don't
even plan on ever using. We don't know how drivers will react to that
(e.g. they may preemptetively allocate resources to support presentation
on exotic queues, instead of just saying no). Just behave like every
other Vulkan app out there.
2023-07-30 17:07:27 -03:00
..
alsa Fix wait for thread not started 2023-04-27 20:28:22 +02:00
alsamidi Fix wait for thread not started 2023-04-27 20:28:22 +02:00
coreaudio Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
coremidi Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
gl_context Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00
gles3 Merge pull request #79142 from BastiaanOlij/register_render_buffers 2023-07-27 15:22:27 +02:00
png Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
pulseaudio Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00
unix Fix file permissions for the web platform 2023-07-25 08:29:24 -04:00
vulkan Fix validation layer warnings 2023-07-30 17:07:27 -03:00
wasapi Add mono audio support to WASAPI 2023-04-28 13:29:43 +02:00
windows Support long path in file access on windows 2023-05-05 10:04:39 +02:00
winmidi One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
xaudio2 Fix wait for thread not started 2023-04-27 20:28:22 +02:00
register_driver_types.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_driver_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Refactor SPIR-V reflection into a generic RenderingDevice feature 2022-12-12 14:14:53 +01:00