Commit graph

4759 commits

Author SHA1 Message Date
Nintorch
4a3bf069a6 Fix invalid reported joypad presses 2025-10-03 11:35:09 +05:00
Nintorch
e5ecc392c9 Fix weak and strong joy vibration being swapped 2025-10-03 11:08:39 +05:00
Thaddeus Crews
51ba8c1c12
Merge pull request #111146 from Kaleb-Reid/fix-sdl-no-dbus
Fix compiling SDL without DBus under Linux
2025-10-02 15:11:54 -05:00
Kaleb Reid
03eb42642c Fix compiling SDL without DBus under Linux 2025-10-02 00:56:32 -07:00
Thaddeus Crews
4594de69fd
Merge pull request #111013 from stuartcarnie/shader_container_ext
Renderer: Move `reflect_spirv` to `RenderingShaderContainer`
2025-10-01 17:54:09 -05:00
Pāvels Nadtočajevs
3245230a40
Suppress SIGPIPE when writing to a pipe. 2025-10-01 13:39:29 +03:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews
6b22951162
Merge pull request #107954 from stuartcarnie/unix_domain_socket_support
Add Core UNIX domain socket support
2025-09-30 18:35:08 -05:00
Thaddeus Crews
4c3765d9ff
Merge pull request #108826 from BlueCube3310/bc1-rgb
Compatibility: Explicitly use BC1's RGB variant
2025-09-30 18:35:04 -05:00
Thaddeus Crews
c28b6c2ced
Merge pull request #109186 from clayjohn/reflection-probe-size-update
Prompt editor restart when reflection probe size is updated
2025-09-30 18:34:57 -05:00
BlueCube3310
d07a72e067 Compatibility: Explicitly use BC1's RGB variant 2025-09-30 20:17:22 +02:00
Thaddeus Crews
4a1c1c483b
Merge pull request #110873 from stuartcarnie/fix_metal_baker
Metal: Fix Metal compiler version inspection
2025-09-30 11:19:21 -05:00
Thaddeus Crews
31b25d5971
Merge pull request #111032 from Joonnas/bugfix-stencil-issue-d3d12
Fix d3d12 stencil buffer not clearing
2025-09-30 11:19:20 -05:00
Thaddeus Crews
21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
devloglogan
8fef9a689e Implement motion vectors in compatibility renderer 2025-09-30 09:42:17 -05:00
Haoyu Qiu
d5738b5cdd Unix: Fix retrieval of PID exit code 2025-09-30 12:29:49 +08:00
clayjohn
aa8bc0b56d Prompt editor restart when reflection probe size is updated
Also formally deprecate the RS function for updating an individual probes size. The functionality was removed in 4.0, but the function itself was mistakenly left exposed.
2025-09-29 18:35:34 -07:00
Stuart Carnie
65e8b0951b Renderer: Move reflect_spirv to RenderingShaderContainer
This change introduces a new protected type, `ReflectedShaderStage` to
`RenderingShaderContainer` that derived types use to access SPIR-V and
the reflected module, `SpvReflectShaderModule` allowing implementations
to use the reflection information to compile their platform-specific
module.

* Fixes memory leak in `reflect_spirv` that would not deallocate the
  `SpvReflectShaderModule` if an error occurred.
* Removes unnecessary allocation when creating `SpvReflectShaderModule`
  by passing `NO_COPY` flag to `spvReflectCreateShaderModule2`
  constructor function.
* Replaces `VectorView` with `Span` for consistency
* Fixes unnecessary allocations in D3D12 shader container in
  `_convert_spirv_to_nir` and `_convert_spirv_to_dxil` which implicitly
  converted the old `VectorView` to a `Vector`
2025-09-30 06:40:14 +10:00
Jonas Seidl
d1246b099e Fix d3d12 stencil buffer not clearing 2025-09-29 13:16:29 +02:00
GlitchedCode922
587c3134fb Fix permission handling for backup on write files 2025-09-27 18:49:39 +00:00
Stuart Carnie
7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
Thaddeus Crews
c32c2606f4
Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
A Thousand Ships
bd65cfa876
Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Stuart Carnie
d93fe9038d Metal: Fix Metal compiler version inspection 2025-09-25 06:35:31 +10:00
Edward Moulsdale
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Thaddeus Crews
78b743cf4a
Merge pull request #110832 from Ivorforce/is-class-to-derives-from
Replace many uses of `is_class` with `derives_from`.
2025-09-24 09:59:09 -05:00
Lukas Tenbrink
8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
Thaddeus Crews
cd3a6c88fd
Merge pull request #106200 from BlueCube3310/image-16-u16
Image: Implement 16-bit unorm and uint formats
2025-09-23 12:08:46 -05:00
Ricardo Sanchez-Saez
038f5934e7
[Apple embedded] Adopt SwiftUI lifecycle for Apple embedded platforms
- Introduces a SCons builder for Swift files
- Increases the minimum deployment targets to iOS 14.0, and visionOS 26.0.
- Replaces manually UIWindow management by a SwiftUI instantiated app.
2025-09-22 18:20:04 -07:00
Thaddeus Crews
3bf0f771ee
Merge pull request #110781 from Ivorforce/rasterizer-render-uv2-allocation
Use an array instead of `TightLocalVector` in `RasterizerSceneGLES3::_render_uv2`, to avoid allocation.
2025-09-22 13:28:53 -05:00
Thaddeus Crews
50ba0149e4
Merge pull request #110241 from Calinou/compatibility-shader-fix-depth-buffer
Fix shader compilation errors in Compatibility when using `depth_texture`
2025-09-22 13:28:43 -05:00
Lukas Tenbrink
bc7c05bfbd Use an array instead of TightLocalVector in RasterizerSceneGLES3::_render_uv2, to avoid allocation. 2025-09-22 16:16:28 +02:00
Thaddeus Crews
d8a909d99c
Merge pull request #110203 from DarioSamo/d3d12-clamp-mipmap
Clamp minimum size of 3D texture view in D3D12.
2025-09-19 13:07:19 -05:00
Thaddeus Crews
191efe2e91
Merge pull request #109778 from BlueCube3310/gles3-astc-detect
Compatibility: Improve ASTC extension detecting
2025-09-19 13:07:15 -05:00
Thaddeus Crews
747722d639
Merge pull request #109299 from BlueCube3310/compat-cube-fix
Compatibility: Fix cubemap faces order when setting texture data
2025-09-19 09:17:07 -05:00
Thaddeus Crews
aa294bb3c8
Merge pull request #110360 from zorbathut/pr/memorybarrierrename
Rename RDD::MemoryBarrier to avoid conflicts with the Windows headers.
2025-09-17 11:34:15 -05:00
Thaddeus Crews
b73ba6c58d
Merge pull request #110198 from zeux/sdl-linux-stdlib
Configure SDL assuming we, in fact, have a libc
2025-09-17 11:34:14 -05:00
Lukas Tenbrink
abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Thaddeus Crews
853884ba05
Merge pull request #109143 from sievaxx/more_sampler_default_texs
Add and enable default textures for other samplers
2025-09-16 11:44:51 -05:00
Thaddeus Crews
4dec6af2c8
Merge pull request #108613 from Repiteo/scons/fix-defines
SCons: Ensure `CPPDEFINES` is properly utilized
2025-09-16 11:44:45 -05:00
Thaddeus Crews
697474baad
Merge pull request #109793 from joaopedroxavier/double-sided-shadows-no-culling
Compatibility: Fix backface culling gets ignored when double-sided shadows are used
2025-09-16 11:44:44 -05:00
Thaddeus Crews
5f5b21481d
Merge pull request #106809 from lrahmann/d3d12_cpu_descriptor_heap
DirectX DescriptorsHeap pooling on CPU
2025-09-16 09:49:00 -05:00
Thaddeus Crews
1a6d3c2192
Merge pull request #110002 from BastiaanOlij/fix_openxr_viewport_texture_compatibility
OpenXR: Fix ViewportTextures not displaying correct texture (OpenGL)
2025-09-16 09:48:56 -05:00
Ben Rog-Wilhelm
e5ab5acd95 Rename RDD::MemoryBarrier to avoid conflicts with the Windows headers. 2025-09-10 05:19:36 -05:00
Stuart Carnie
b7aac81366 Metal: Ensure baking to binary sets minimum target OS
Co-authored-by: Travis Lange <travislange12@gmail.com>
2025-09-08 08:16:53 +10:00
Lukas Rahmann
f7fd65923a Add descriptor heap pooling to D3D12. 2025-09-04 09:17:40 -03:00
Hugo Locurcio
dd8bab9f89
Fix shader compilation errors in Compatibility when using depth_texture
Globals were defined too early, which means some uniforms were not available
at the point they were defined in.
2025-09-04 00:33:45 +02:00
Dario
1ce55b946c Clamp minimum size of 3D texture view in D3D12. 2025-09-02 15:13:27 -03:00
Arseny Kapoulkine
dcefe95ae4 Configure SDL assuming we, in fact, have a libc.
Without this, on Linux and Linux alone, and only if SDL is builtin, the
definitions for some functions - notably, memset/memcpy - are taken from
SDL source.

This leaves them at the mercy of the compiler and may lead to the
optimal implementations of these functions not being selected. But the
main motivation for this is that it's action at a distance that is
incredibly surprising - linking in a gamepad support library should not
change the implementation of memset/memcpy!
2025-09-01 23:19:35 -07:00
Clay John
0f0bb7d225
Merge pull request #110025 from DarioSamo/fix-shader-debug-info-take-two
Fix --generate-spirv-debug-info regression (alternate take)
2025-09-01 19:37:27 -07:00