Commit Graph
5074 Commits
Author SHA1 Message Date
Duke Manchester 25264af544 avoid running 'GetVolumeInfotmationW' on network drives efficiently
avoid running 'GetVolumeInformationW' on network drives

use a variable to not re-do utf16 conversion, change [] to <> to be more visually distinct from inevitably wrapping ()

(cherry picked from commit 9338b10dd3e6614f1172cb38d086b0bc4be40dc8)
2026-07-30 11:26:22 -05:00
Lukas Tenbrink 17cd7dbac7 Make it impossible to have more than one main thread.
(cherry picked from commit 2ff661cd8d9b229b6a8d0e64ccd9cb52e92c1315)
2026-07-30 11:26:19 -05:00
Stuart Carnie 2b12a3a681 Metal: Fix buffer overrun
(cherry picked from commit d0f493b9550711f822eb4b1fe6bffb645cc492e6)
2026-06-30 09:28:41 -05:00
Rémi Verschelde cecc28f714 Vulkan: Silence loader warning about incompatible drivers
Example warning on Fedora where Mesa ships the D3D12/WSL Dozen driver:
```
WARNING: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
        terminator_CreateInstance: Received return code -9 from call to vkCreateInstance in ICD /usr/lib64/libvulkan_dzn.so. Skipping this driver.
        Objects - 1
                Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 850961280
     at: _debug_messenger_callback (drivers/vulkan/rendering_context_driver_vulkan.cpp:646)
```

(cherry picked from commit 37af0f14a9df0e368838b2e1643b9b1a1d969aee)
2026-06-30 09:15:10 -05:00
Lukas Tenbrink b737d54090 Add missing mutex unlock in AudioDriverPulseAudio in error state.
(cherry picked from commit 5405105c0185df704ce0b5bcfbc178ce03550dab)
2026-06-30 09:15:10 -05:00
Rémi Verschelde 4e8568cdac Vulkan: Fix build with use_volk=no
(cherry picked from commit cdabd48e413be080ab0566b66756fca3bf4e1dc3)
2026-06-23 08:36:45 -05:00
Thomas ten Cate 6a97461a85 Suppress warning about missing mesh tangents if TANGENT is assigned in the shader
(cherry picked from commit d3219bdf0715933688aa30d33047e2b3229e8695)
2026-06-23 08:36:43 -05:00
Skyth 823e2db6b1 Add workaround for Vulkan pipeline compilation errors on Adreno 660. 2026-06-17 15:39:27 +03:00
Skyth af2fea0ad3 Fix leftover particle data when updating particle buffers.
Co-authored-by:  Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2026-06-11 21:02:05 +02:00
Thaddeus Crews b7eb57977a Merge pull request #119451 from bruvzg/mt_rset_a6
[Metal] Restrict residency set support to Apple6+ GPUs.
2026-06-08 09:12:02 -05:00
David Snopek 15d8191fbf OpenGL: Fix vertex shader compilation error with EYE_OFFSET 2026-06-03 11:54:50 -05:00
Thaddeus Crews 9d2e20a046 Merge pull request #119977 from novalis/pa-spam
Pulseaudio: Do not report the same message twice in a row
2026-06-02 17:39:08 -05:00
Thaddeus Crews 95efa7f46a Merge pull request #119975 from novalis/pa-null-pointer
Pulseaudio: Do not crash when getting latency when disconnected
2026-06-02 17:39:07 -05:00
David Turner e2da592ef3 Do not repeat a pulseaudio message
Partial fix for #54584.  This addresses the spam, but does NOT reconnect.

This doesn't address all possible pulseaudio spam -- just the one that I most
commonly see.
2026-06-02 11:59:58 -04:00
David Turner 7f14bfd6b1 Pulseaudio: Do not crash when getting latency when disconnected 2026-06-02 11:43:12 -04:00
Dario 568833cb86 Don't use CreateCommandList1 on D3D12. 2026-06-02 12:05:05 -03:00
Justin Jia 93c396382d iOS: Fix ignored orientation changes in embedded mode
When running under the SwiftUI app lifecycle, the Godot view controller can be wrapped by a hosting controller that becomes the window's root view controller. In that case, orientation-related UIKit selectors must be propagated to the root controller before requesting an interface orientation update.

This also fixes orientation settings not being applied correctly on iOS.
2026-05-26 13:52:21 +08:00
Thaddeus Crews fa09dd17a6 Merge pull request #116634 from mooflu/gles-reflection-probe-crash-115256
Check render target before dereferencing reflection probe.
2026-05-25 12:52:36 -05:00
Frank Becker 8dd82dc221 Check rt before dereferencing it.
There is no render target for reflection probe.
2026-05-25 10:29:53 -07:00
Thaddeus Crews 243f3537ed Merge pull request #119639 from blueskythlikesclouds/adreno-disable-ubershader
Disable ubershaders on problematic Adreno compiler versions.
2026-05-25 11:19:00 -05:00
Thaddeus Crews f08e003ff2 Merge pull request #119620 from bruvzg/ios_godot_path_list
[iOS] Fix resource directory path when using `godot_path`.
2026-05-22 10:57:58 -05:00
Skyth c6987624ef Disable ubershaders on problematic Adreno compiler versions. 2026-05-21 22:13:32 +03:00
Pāvels Nadtočajevs abb6d4531a [iOS] Fix resource directory path when using godot_path. 2026-05-21 10:01:55 +03:00
Thaddeus Crews 3bfa50fd32 Merge pull request #117805 from BenLubar/gl-compatibility-drawable-texture
Fix `convert_to_srgb` uniform being set as the wrong data type.
2026-05-20 14:33:23 -05:00
Ben Lubar d55190dfde Fix convert_to_srgb uniform being set as the wrong data type. 2026-05-19 14:48:58 -05:00
Thaddeus Crews fbe9a8e56a Merge pull request #119547 from cengiz-pz/118600-url-lifecycle
[ios] Fix missing UIScene URL lifecycle events for app delegate services
2026-05-19 11:18:17 -05:00
Cengiz 37469a163b [ios] Forward UIScene lifecycle callbacks to app delegate services 2026-05-19 15:01:37 +06:00
Thaddeus Crews cd702593c9 Merge pull request #119344 from Paperzlel/fix-hdr-surface-error
Fix false positive error in `_determine_swap_chain_format`
2026-05-18 11:06:29 -05:00
Paperzlel f27ec9bf8a Fix false positive error in _determine_swap_chain_format 2026-05-14 19:03:43 +01:00
Pāvels Nadtočajevs e9be326dea [Metal] Restrict residency set support to Apple6+ GPUs. 2026-05-14 08:11:13 +03:00
Thaddeus Crews ea1fb9095e Merge pull request #118541 from stuartcarnie/metal_shader_baking_fixes
Metal: Reduce warnings and prevent incompatible library code when baking shaders
2026-05-11 17:11:36 -05:00
Thaddeus Crews d51d1ec682 Merge pull request #119289 from Calinou/gpu-index-compatibility-warn-unsupported
Warn about `--gpu-index` CLI argument being unsupported in Compatibility
2026-05-07 11:13:31 -05:00
Thaddeus Crews fddd45ea1c Merge pull request #119091 from ArchercatNEO/context-driver-surface-supports-hdr
HDR: Implement checking if surface supports HDR output.
2026-05-06 14:56:27 -05:00
ArchercatNEO 3f29efc8a2 HDR: Implement surface supports HDR output.
Previously the Wayland display server would attempt to enable
HDR output and try to detect if it failed afterwards which had some issues.
Now we can query the rendering driver for support and avoid ever enabling
HDR output when this would fail.
2026-05-06 19:51:54 +01:00
Hugo Locurcio a96279db3e Warn about --gpu-index CLI argument being unsupported in Compatibility
- Print a warning when `--gpu-index` is out of range in RenderingDevice-based
  renderers, since it falls back to automatic GPU selection.

The GPU selection logic is only available in RenderingDevice-based renderers.
2026-05-06 19:23:14 +02:00
Thaddeus Crews 314bbd21a9 Merge pull request #119237 from Calinou/vulkan-improve-errors
Improve Vulkan error messages to be more user-friendly
2026-05-06 10:53:37 -05:00
Thaddeus Crews efd7478385 Merge pull request #119259 from blueskythlikesclouds/shader-baker-crash-fix
Fix crash when baking shaders for D3D12 from Vulkan.
2026-05-06 10:53:33 -05:00
Hugo Locurcio f2fc4473f0 Improve Vulkan error messages to be more user-friendly
- Mention that error codes are VkResult error codes
  (as opposed to Godot error codes).
- Mention passed values in more cases to help troubleshooting.
- Mention common causes of "Vulkan device lost" in crash message.
- Use consistent style across all errors.
2026-05-05 23:47:26 +02:00
Skyth ff64ee4f60 Fix crash when baking shaders for D3D12 from Vulkan. 2026-05-05 20:45:06 +03:00
Thaddeus Crews 9d2246cb11 Merge pull request #119212 from blueskythlikesclouds/d3d12-fix-msaa-subpass-resolve
Fix subpass MSAA resolves with multiple layers not working on D3D12.
2026-05-05 10:30:02 -05:00
Skyth 5aecc0da58 Fix subpass MSAA resolves with multiple layers not working on D3D12. 2026-05-04 15:29:59 +03:00
Wilson E. Alvarez e86de1802b Free LTC RIDs 2026-05-02 21:39:36 -04:00
Thaddeus Crews f059d64e3d Merge pull request #118968 from CookieBadger/area-light-lut-textures
Fix GPU validation errors due to area light LUT format
2026-04-30 10:58:09 -05:00
David Snopek 49b2043deb Fix a couple more ubo:X numbers for XR in Compatibility renderer 2026-04-28 13:21:41 -05:00
David Snopek fd1898bf5d Fix ubo:X numbers for multiview UBOs in Compatibility renderer 2026-04-27 17:56:37 -05:00
CookieBadger 7c532acc09 change LTC lookup table texture format to RGBAF and set p_8bit_dst to true in gaussian_blur 2026-04-27 21:35:46 +02:00
Thaddeus Crews 7a8adcf4d8 Merge pull request #117913 from allenwp/hdr-output-allow-request
Fix behavior of `window_is_hdr_output_supported` for Wayland and adjust warnings.
2026-04-24 15:43:32 -05:00
Thaddeus Crews 04e3d906f9 Merge pull request #114957 from LucaTuerk/fix_compat_backbuffer_allocation
Remove Compatibility RenderTarget backbuffer size limit
2026-04-23 08:34:56 -05:00
Thaddeus Crews d57f844e79 Merge pull request #118863 from LiveTrower/fix-clearcoat-area-light
Fix clearcoat intensity for area lights
2026-04-23 08:34:54 -05:00
LiveTrower 5dac818f77 Fix clearcoat intensity for area lights 2026-04-22 13:07:53 -06:00