1
0
Fork 0
Commit Graph

4582 Commits

Author SHA1 Message Date
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
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
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
Thaddeus Crews 280503b4ee
Merge pull request #110063 from stuartcarnie/109846/ios_crash
Metal: Reduce baked version to MSL 3.1; validate minimum version
2025-09-01 19:09:56 -05:00
Thaddeus Crews ac5c6a1060
Merge pull request #110148 from bruvzg/0_5_msdf_outline
[MSDF] Fix outline bleed out at small sizes.
2025-09-01 12:25:41 -05:00
Thaddeus Crews 52a5644b5f
Merge pull request #108214 from Nintorch/fix-joypad-vendor-product
Fix `Input.get_joy_info()` regression after the SDL input driver PR
2025-09-01 11:14:12 -05:00
Pāvels Nadtočajevs f766e401db
[MSDF] Fix outline bleed out at small sizes. 2025-08-31 23:35:33 +03:00
Nintorch f28acf97d0 Fix Input.get_joy_info() regression
SDL input driver did not have the "xinput_index", "raw_name", "vendor_id" and "product_id" fields for this method and exposed an additional, essentially useless for the users "mapping_handled" field. This commit fixes these issues.
2025-08-29 22:13:40 +05:00
Stuart Carnie 1b64bcb98d Metal: Reduce baked version to MSL 3.1; validate minimum version
Validate the MSL version of the baked shader is <= the current version
supported by the OS, and return an error so it is recompiled.

Closes #109846
2025-08-29 05:48:51 +10:00
Dario e137c882c0 Disable smolv and change the shader hash when SPIR-V debug info is enabled. 2025-08-28 14:17:58 -03:00
Bastiaan Olij a38256c19e OpenXR: Fix ViewportTextures not displaying correct texture (Compatibility) 2025-08-27 13:02:39 +10:00
Thaddeus Crews 6db7f65110
Merge pull request #109819 from Nintorch/fix-get-connected-joypads
Fix DirectInput controllers on game startup
2025-08-25 09:54:17 -05:00
Thaddeus Crews b432e108d5
Merge pull request #109791 from Talkashie/master
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Nintorch dd2e1b104b Fix DirectInput controllers on game startup
Now SDL and DirectInput don't complain when a game starts with a DirectInput controller already connected. Fixes "JoypadSDL::process_events: Error opening gamepad at index 1: IDirectInputDevice8::SetCooperativeLevel() DirectX error 0x80070006"
2025-08-21 13:21:48 +05:00
Thaddeus Crews 4012392cd6
Merge pull request #109786 from Repiteo/scons/metal-gnu++20
SCons: Use gnu++20 in metal driver
2025-08-20 12:07:16 -05:00
Thaddeus Crews 4f393e0c3c
Merge pull request #109644 from RandomShaper/fix_dupe_tex2darr
Fix material removal clearing all instances of shared texture arrays
2025-08-20 12:07:14 -05:00
Thaddeus Crews 28d1406d61
Merge pull request #109765 from bruvzg/msdf_outline_clamp
Fix MSDF outline size clamping.
2025-08-20 12:07:11 -05:00
Thaddeus Crews 5cd785d3a8
SCons: Use gnu++20 in metal driver 2025-08-20 09:56:38 -05:00
Talkashie 3ff4e29657 Typo fix round 2 2025-08-20 04:24:06 -05:00
João Pedro Xavier d6aca93c1a Fix bug where material with double-sided shadows ignores backface culling on compatibility renderer 2025-08-19 20:21:10 -07:00
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Thaddeus Crews c8b89b84cc
Merge pull request #109750 from Nintorch/fix-get-connected-joypads
Handle SDL joypad events for connected controllers on game startup (on Windows and Linux)
2025-08-19 10:29:46 -05:00
Thaddeus Crews b2deb22edd
Merge pull request #109749 from Repiteo/scons/mesa-rollback
SCons: Temporarily revert Mesa includes to `CPPPATH`
2025-08-19 10:29:45 -05:00
Thaddeus Crews ef44ec13d1
Merge pull request #109397 from bruvzg/execute_with_pipe_dsc_fix
[Unix] Fix `execute_with_pipe` closing wrong pipe handle.
2025-08-19 10:29:44 -05:00
BlueCube3310 d481a23c5a Compatibility: Improve ASTC extension detecting 2025-08-19 17:12:55 +02:00
Pāvels Nadtočajevs 6a3941b5d9
Fix MSDF outline size clamping. 2025-08-19 08:28:33 +03:00
Nintorch 197961ddc9 Process SDL joypad events on startup
Make sure that SDL events are processed when the SDL joypad input driver is initialized, this will allow it to register the connected controllers when a game starts.
2025-08-18 23:55:20 +05:00
Thaddeus Crews 65b8210b9b
SCons: Revert Mesa includes to `CPPPATH` 2025-08-18 13:37:46 -05:00
Pedro J. Estébanez 919006eb35 Fix material removal clearing all instances of shared texture arrays 2025-08-18 12:21:15 +02:00
Thaddeus Crews ca452113d4
Merge pull request #109437 from bruvzg/msdf_no_t
Use MSDF instead of MTSDF for font rendering.
2025-08-11 09:55:28 -05:00