David Snopek
fa30719814
Fix wrong default texture for global uniforms of type sampler2DArray
2025-06-05 11:12:03 -05:00
Rémi Verschelde
37982d4a01
Merge pull request #107116 from beicause/expose-mesh-surface-update-index-buffer
...
Expose `RS.mesh_surface_update_index_region`
2025-06-05 17:24:54 +02:00
Rémi Verschelde
3b7547fdd0
Merge pull request #106398 from akien-mga/d3d12ma-silence-warnings
...
D3D12: Silence `-Wmaybe-uninitialized` warning in D3D12MemAlloc
2025-06-05 17:24:42 +02:00
LuoZhihao
63c124fa45
Expose RS.mesh_surface_update_index_region
...
And `mesh_surface_get_format_index_stride`
2025-06-05 19:35:59 +08:00
Rémi Verschelde
1e9200d065
Merge pull request #107099 from Kaleb-Reid/fix-sun-scatter
...
Increase directional light energy in sky for fog sun scatter
2025-06-05 13:13:40 +02:00
Rémi Verschelde
61639d9574
Merge pull request #106996 from Ivorforce/no-oa-hashmap
...
Core: Remove `OAHashMap`, in favour of `AHashMap`
2025-06-05 13:12:34 +02:00
Kaleb Reid
bac9427325
Fix sky energy in fog sun scatter + colour space discrepancy in compatibility
2025-06-04 13:59:53 -07:00
Youngmin Koo
fd4d5cc77f
iOS: Prevent startup crash with Input singleton null check
2025-06-05 00:34:04 +09:00
Pāvels Nadtočajevs
6565c8e83f
[AccessKit] Update API to 0.16.0.
2025-06-03 10:49:04 +03:00
Thaddeus Crews
7a3d2f6779
Merge pull request #106606 from aaronfranke/pow2_64
...
Add 64-bit versions of core power of 2 functions
2025-06-02 18:51:56 -05:00
Thaddeus Crews
a6be6d1cd1
Merge pull request #106959 from bruvzg/w10_cleanup
...
[Windows] Drop support for Windows 7/8/8.1.
2025-06-02 18:51:46 -05:00
Aaron Franke
f6f1df7d73
Add 64-bit versions of core power of 2 functions
2025-06-01 23:11:12 -07:00
Pāvels Nadtočajevs
2d93e004b9
Cleanup and unify DisplayServer screen methods and documentation.
2025-06-02 08:03:48 +03:00
Lukas Tenbrink
963c20565b
Remove OAHashMap, in favour of AHashMap.
...
The two types had (mostly) the same decisions, but `AHashMap` is a faster implementation, and is more consistent with `HashMap`.
2025-05-31 15:50:10 +02:00
Pāvels Nadtočajevs
617e12a6b4
[Windows] Drop support for Windows 7/8/8.1.
2025-05-30 17:30:23 +03:00
clayjohn
8b2dda868b
Correctly place viewport and use viewport relative rect for the final blit in Compatibility renderer
2025-05-28 22:11:20 -07:00
Thaddeus Crews
de37627404
Merge pull request #102552 from DarioSamo/shader-baker
...
Add shader baker to project exporter.
2025-05-28 17:09:38 -05:00
Thaddeus Crews
90c75d02dd
Merge pull request #106732 from stuartcarnie/rd_reduce_allocations
...
Renderer: Eliminate `String` allocations for all labels in the renderer
2025-05-28 09:47:43 -05:00
Stuart Carnie
7d93119353
Renderer: Eliminates String allocations for all labels in the renderer
...
Uses `Span<char>` to avoid additional allocations in the graph.
2025-05-28 06:01:35 +10:00
Dario
5a30a7e7cd
Add shader baker to project exporter.
...
Metal Support contributed by Migeran (https://migeran.com ) and Stuart Carnie.
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com >
Co-authored-by: Gergely Kis <gergely.kis@migeran.com >
2025-05-27 12:45:27 -03:00
Thaddeus Crews
1194609662
Merge pull request #106827 from akien-mga/d3d12-fix-DCOMP_ENABLED-inconsistency
...
D3D12: Fix inconsistent value for `DCOMP_ENABLED` in platform code
2025-05-27 09:39:28 -05:00
Lukas Tenbrink
4cb8a0c77e
Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call.
2025-05-26 18:35:41 +02:00
Rémi Verschelde
514e80bcc1
D3D12: Fix inconsistent value for DCOMP_ENABLED in platform code
2025-05-26 15:16:19 +02:00
Pāvels Nadtočajevs
d609cf62a0
Implement get_filesystem_type on macOS and Linux.
2025-05-23 23:05:06 +03:00
clayjohn
eb4f3a82a3
Ignore destination alpha when blitting to window in compatibility renderer
2025-05-22 22:21:32 -04:00
Thaddeus Crews
452dc667fb
Merge pull request #106592 from beicause/shader-fix-editor-mat-default
...
Shader: Fix the default behavior when mat uniforms are null
2025-05-22 12:15:08 -05:00
Thaddeus Crews
8085fd3102
Merge pull request #93142 from clayjohn/z_clip_scale
...
Add new shader built ins: `Z_CLIP_SCALE` and `PERSPECTIVE_SCALE`
2025-05-22 12:15:06 -05:00
Thaddeus Crews
f129e542da
Merge pull request #106708 from bruvzg/nohang_exitcode
...
Fix `execute_with_pipe` / `create_process` exit code.
2025-05-22 12:15:06 -05:00
Thaddeus Crews
d19b34c5be
Merge pull request #106694 from stuartcarnie/metal_fix_clear_crash
...
Metal: Fix crash when clearing render buffers
2025-05-22 12:15:05 -05:00
Thaddeus Crews
dd5c5ed631
Merge pull request #106267 from clayjohn/android-msaa-bug
...
Use a fragment shader copy instead of a blit copy in the final blit to screen in the Compatibility backend
2025-05-22 12:14:57 -05:00
Pāvels Nadtočajevs
1501f447bf
Fix execute_with_pipe / create_process exit code.
2025-05-22 08:56:37 +03:00
Stuart Carnie
32043fc682
Metal: Fix crash when clearing render buffers
2025-05-22 07:25:48 +10:00
clayjohn
9a1def8da1
Add new StandardMaterial properties to allow users to control FPS-style objects (hands, weapons, tools close to the camera)
...
Add new shader built in Z_CLIP_SCALE to easily adjust clipping distance to avoid clipping walls etc.
Add fov_override to StandardMaterial3D to easily have a custom FOV for FPS objects
Add IN_SHADOW_PASS built-in to shaders for tweaking materials without impacting shadow maps
2025-05-21 10:16:05 -03:00
LuoZhihao
4621d3e1f4
Shader: Fix the default behavior when mat uniforms are null
2025-05-21 13:28:39 +08:00
clayjohn
a0e3ade99f
Use a fragment shader copy instead of a blit copy in the final blit to screen in the Compatibility renderer to avoid black screen when "Force MSAA 4x is used" on Android devices
2025-05-20 16:34:43 -07:00
Stuart Carnie
4201db6f01
Metal: Ensure stencil-only rendering is supported
...
Closes #106652
2025-05-21 08:45:30 +10:00
Rémi Verschelde
25a3c27c41
Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
...
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Aaron Franke
19e6bc68aa
Explicitly handle Image AlphaMode enum instead of treating as bool
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com >
2025-05-20 05:04:23 -07:00
Ricardo Sanchez-Saez
47971c0a27
Introduce 'visionos' platform derived from 'apple_embedded'
2025-05-19 15:47:01 -07:00
Ricardo Sanchez-Saez
457299449d
Introduce 'drivers/apple_embedded' abstract platform for code reuse
2025-05-19 15:37:13 -07:00
Thaddeus Crews
2d42b889d1
Merge pull request #104124 from Ivorforce/alloc-static-calloc
...
Add `Memory::alloc_static_zeroed` to allocate memory that's filled with zeroes.
2025-05-19 08:01:33 -05:00
Thaddeus Crews
83ba0687f7
Merge pull request #106407 from DarioSamo/present-validation-error
...
Rework semaphores for presentation to be created per swap chain image to fix validation error.
2025-05-15 10:22:18 -05:00
Thaddeus Crews
902d2b45bb
Merge pull request #106400 from RandomShaper/win_compat
...
Improve platform compatibility of Windows and Direct3D 12
2025-05-15 10:22:16 -05:00
Thaddeus Crews
e625565853
Merge pull request #106396 from chocola-mint/canvas-item-add-triangle-array-count
...
Implement the `count` parameter in `RenderingServer.canvas_item_add_triangle_array`
2025-05-15 10:22:16 -05:00
Dario
ad22f65489
Rework semaphores for presentation to be created per swap chain image to fix validation error.
2025-05-14 15:27:51 -03:00
Pedro J. Estébanez
7759296594
Direct3D 12: Let platforms report support for direct composition
2025-05-14 17:48:19 +02:00
Thaddeus Crews
3d645bdd13
Merge pull request #106392 from bruvzg/wine_sh_secure
...
[Wine] Use `_SH_DENY*` flags instead of unsupported `_SH_SECURE`.
2025-05-14 09:44:15 -05:00
Thaddeus Crews
43010e8839
Merge pull request #106357 from YYF233333/remove_search_array
...
Move bisect functionality to `Span` and deduplicate code
2025-05-14 09:44:14 -05:00
Thaddeus Crews
fb39aa4fd3
Merge pull request #105833 from marcosc90/perf-web-shader-source
...
[Web] Optimize `GL.getSource` for known-length shader sources
2025-05-14 09:44:08 -05:00
Thaddeus Crews
d0693d6867
Merge pull request #89988 from LunaCapra/specular-occlusion
...
Add support for bent normal maps for specular occlusion and indirect lighting
2025-05-14 09:44:06 -05:00