Commit Graph

5099 Commits

Author SHA1 Message Date
Thaddeus Crews fd4c9db2a2 Merge pull request #120589 from stuartcarnie/metal_copy_queue_fix
Metal: Fix buffer overrun
2026-06-24 10:16:10 -05:00
Thaddeus Crews 0fe4dfb237 Merge pull request #119959 from HolonProduction/soft-ip
Use `GDSOFTCLASS` for internal `IP` implementations
2026-06-24 10:16:07 -05:00
Thaddeus Crews 6fccedc3cd Merge pull request #120578 from Nintorch/small-joy-touchpad-fixes
Small joypad touchpad API fixes
2026-06-24 10:16:06 -05:00
Thaddeus Crews 6d9fc12604 Merge pull request #120545 from stuartcarnie/metal_data_race
Metal: Fix data race when loading shader containers
2026-06-24 10:16:05 -05:00
Stuart Carnie d0f493b955 Metal: Fix buffer overrun
Closes #120556
2026-06-24 06:52:27 +10:00
Dario 5d87e9b616 Add support for ASTC 6x6 and high quality compression profiles. 2026-06-23 14:00:26 -03:00
Nintorch 9968f1f78c Small joypad touchpad API fixes 2026-06-23 18:58:44 +05:00
Stuart Carnie 89974da374 Metal: Fix data race when loading shader containers
Closes #120504
2026-06-23 06:08:51 +10:00
Thaddeus Crews 2f335f1698 Revert "Presort text draw calls."
This reverts commit 892381663b.
2026-06-22 12:03:01 -05:00
Thaddeus Crews 41e3364455 Merge pull request #116751 from bruvzg/text_presort_2
Presort text draw calls (simplified version).
2026-06-22 08:29:47 -05:00
Thaddeus Crews 74578fa41a Merge pull request #118767 from bruvzg/pref_lcs
[macOS/iOS/Windows] Add method to get full list of user preferred locales and use it for the editor locale selection.
2026-06-19 12:05:59 -05:00
Thaddeus Crews c85abe1020 Merge pull request #118973 from realkotob/kotob/arraymesh-expose-gdextension
Expose mesh surface RD buffer RIDs to GDExtension
2026-06-19 12:05:56 -05:00
Thaddeus Crews 0eea0da219 Merge pull request #111714 from Nintorch/joypad-touchpads
Add support for joypad touchpads
2026-06-19 12:05:54 -05:00
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
Nintorch 7b70bd5d58 Add support for joypad touchpads
This PR adds the ability to use touchpads on supported controllers, such as DualShock 4 and DualSense.
Currently there's no InputEvent that gets fired when a finger appears/moves on a touchpad.
2026-06-05 22:29:40 +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
HolonProduction ce098a9264 Use GDSOFTCLASS for internal IP implementations 2026-06-02 10:15:35 +02: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
Kotob M 7cbebab1d0 Expose ArrayMesh surface RD buffer RIDs to GDExtensions
Adds Mesh equivalents of `multimesh_get_buffer_rd_rid` so GPU-driven mesh
workflows in a GDExtension can write directly into a surface's vertex,
attribute, skin, or index buffer from a compute pipeline, avoiding the
CPU round-trip through `mesh_surface_update_*_region`.

A new `ARRAY_FLAG_USE_STORAGE_BUFFER` surface format flag opts the backing
buffers into storage-buffer usage so they can be bound in compute shaders.

Vulkan/D3D12/Metal only, OpenGL returns an invalid RID.
2026-05-25 18:35:01 +03: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 892381663b Presort text draw calls. 2026-05-21 13:29:28 +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