Commit Graph

5081 Commits

Author SHA1 Message Date
Thaddeus Crews 1f8239a668 Merge pull request #120087 from HolonProduction/windoof/fs-equal
Windows: Fix `DirAccess::is_equivalent` for external and network drives
2026-06-18 15:14:12 -05:00
Thaddeus Crews 7472648ee2 Merge pull request #120352 from Ivorforce/audio-unlock-fix
Add missing mutex unlock in `AudioDriverPulseAudio` in error state.
2026-06-18 15:14:10 -05:00
Thaddeus Crews 82e7c213a4 Merge pull request #110911 from Kaleb-Reid/fix-clear-colour
Apply sky brightness multiplier in correct color space
2026-06-18 13:15:30 -05:00
Thaddeus Crews 3408519fcc Merge pull request #120230 from clayjohn/multimesh-zero-initialize
Initialize multimesh buffers to 0
2026-06-18 13:15:29 -05:00
Thaddeus Crews 0217e8e010 Merge pull request #120393 from akien-mga/vulkan-silence-incompatible-driver-warning
Vulkan: Silence loader warning about incompatible drivers
2026-06-18 13:15:25 -05:00
Thaddeus Crews 99c4eac0c6 Merge pull request #119989 from ttencate/fix/generated_tangents_warning_106276
Suppress warning about missing mesh tangents if TANGENT is assigned in the shader
2026-06-18 10:19:04 -05:00
Thaddeus Crews bfba5b0f40 Merge pull request #120362 from akien-mga/vulkan-fix-no-volk-build
Vulkan: Fix build with `use_volk=no`
2026-06-18 10:18:58 -05:00
Rémi Verschelde 37af0f14a9 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)
```
2026-06-18 11:52:29 +02:00
Skyth 823e2db6b1 Add workaround for Vulkan pipeline compilation errors on Adreno 660. 2026-06-17 15:39:27 +03:00
Rémi Verschelde cdabd48e41 Vulkan: Fix build with use_volk=no 2026-06-17 13:28:55 +02:00
Lukas Tenbrink 5405105c01 Add missing mutex unlock in AudioDriverPulseAudio in error state. 2026-06-16 17:49:08 +02:00
clayjohn 34cdc6e43f Initialize multimesh buffers to 0 instead of letting them contain garbage data.
In the editor, we read back the data from the GPU to display the buffer values. So when we create the buffer uninitialized, we end up reading back garbage data and displaying it in the editor.

Many GPUs zero-initialize buffers by default, but it isn't guaranteed behaviour, so its best to initialize it ourselves to be safe
2026-06-11 22:18:56 -07: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
HolonProduction 8c2b92e5f7 Windows: Fix DirAccess::is_equivalent for external and network drives 2026-06-08 20:03:37 +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
Thomas ten Cate d3219bdf07 Suppress warning about missing mesh tangents if TANGENT is assigned in the shader
Fixes #106276
2026-06-03 20:17:12 +02: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
Kaleb Reid 50238693ef Apply sky brightness multiplier in correct color space 2026-05-27 13:18:20 -07: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