Commit Graph

6571 Commits

Author SHA1 Message Date
David Snopek 499ca0b8df Add missing GDVIRTUAL_BIND(_get_supported_extensions) on MovieWriter
(cherry picked from commit 475e7452eb4a9e157acfe96f1949a4e266df2f16)
2026-03-18 10:37:16 -05:00
Gaktan 424c4d30c1 Fix Octahedral encoding special case when computing vertex skinning
Signed-off-by: Gaktan <Gaktan@users.noreply.github.com>
(cherry picked from commit c05c85581eb236f224dd15a04feda2a8d80082cc)
2026-03-18 09:39:00 -05:00
Pāvels Nadtočajevs 7b4b294fa0 Update access-kit to 0.21.2 (4.6) 2026-03-15 13:28:19 +02:00
Chaosus d9d3aee616 Fixes for completion of shader preprocessor defines
(cherry picked from commit cd5f2aa923c338e752ae85f03d5fc142d4c26bd2)
2026-03-05 17:58:24 -06:00
Joshua Rothe 795a61dbb3 Fixing shader compilation error when writing to FOG when render_mode fog_disabled.
Always declares FOG variable regardless of fog state. Previously, only declared
fog if FOG_DISABLED was undefined. This caused errors if the code tried to
write to fog later. Exists as a dummy variable when unused.

Signed-off-by: Joshua Rothe <joshrothe@gmail.com>
(cherry picked from commit 7a2f188382ecbe7f81a4378e9786e0da0b575f9f)
2026-03-05 17:56:42 -06:00
Bastiaan Olij f721d684fb Apply fixed size properly for mono/stereo rendering.
(cherry picked from commit aac883849e835eb8ff4e3bf2a0737355b55784e5)
2026-03-05 17:56:26 -06:00
Skyth c25b7781ba Fix accidental write-combined memory reads in canvas renderer.
(cherry picked from commit 482d9313a2626950356c8ad8e12d7cbbb4c081c3)
2026-03-05 17:56:15 -06:00
Allen Pestaluky 2ac6196cfa Fix viewport debanding not working with spatial scalers.
(cherry picked from commit ec394025f1eef67fa206978bd995a2d300bb04d1)
2026-03-05 13:29:35 -06:00
Frank Becker ee5ac6c1d4 Fix LCD batching flag for StyleBoxTexture
(cherry picked from commit dc67bdaab4cd027850f40233d484623762373dd1)
2026-03-05 13:29:31 -06:00
Pāvels Nadtočajevs 1eee336361 Fix soft hyphen not working with small (or zero) line breaking width.
(cherry picked from commit f9f164f7cae6081cb47bc0c5ace4780c80b9852c)
2026-02-20 12:29:18 -06:00
Kiri Jolly 2ec95001ec Modified AudioServer to clean up references before the singleton is removed.
This allows objects requiring the singleton for cleanup avoid a null pointer de-reference.

fixes #116298

(cherry picked from commit 9655415fc44687702dd366c02a3ae7b28f2061f2)
2026-02-20 12:29:16 -06:00
Clay John e226db088c Restore default sky roughness levels to 8. This helps smooth out rough non-metallic objects that have a very noisy HDRI
(cherry picked from commit 0063b4ebd6aca6c29920e879d1c91ef0ef52147e)
2026-02-20 12:29:15 -06:00
Clay John 4d176d8b81 Add compatibility fallback to textureLod when reading from RADIANCE
This is needed due to the discontinuity in the seam of the octahedral coordinates

(cherry picked from commit 69a923e3402b45a44984703ffea826fa68ce0f53)
2026-02-20 12:29:12 -06:00
Pāvels Nadtočajevs effdbbfafd [Accessibility] Handle adapter activation/deactivation.
(cherry picked from commit 876dcc8a5d2b1ca0cffcc84ea8cfd06d69fadde4)
2026-02-20 12:29:04 -06:00
Clay John 0591470c36 Use transmittance instead of opacity in the early-out branch when calculating volumetric fog
(cherry picked from commit 2343d36b4352ff1c177e611e71df7df6129e993f)
2026-02-10 10:45:55 -06:00
Zac Luzader a5f67bc458 Use sky's corrected camera projection for combined_reprojection
(cherry picked from commit 56e646c2170a91d1432b43471330da818a2a8b82)
2026-02-05 10:05:06 -06:00
Skyth 19df5470c8 Pick the sample closer to the camera when resolving 2x MSAA.
(cherry picked from commit f975cfe037971bc1684d64d31be7be09b31aa093)
2026-02-05 10:05:01 -06:00
clayjohn d376ca77dc Avoid reading from sky pointer when rendering background without sky
(cherry picked from commit da7540f3f19ad7c05acd5f3632ed349a0db75032)
2026-02-05 09:46:08 -06:00
Clay John 5207208577 Ensure that uv border size is passed in to sky rendering functions both when rendering the octmap and when rendering the sky as a background
(cherry picked from commit b4b20e95ed4e18d18370f76f6faad5f8e1e380d3)
2026-02-05 09:46:07 -06:00
Dario c2b068d08c Fix stale reference bug in FramebufferCache. 2026-01-23 10:43:09 -03:00
Clay John c5d21df245 Increase precision of ninepatch source rect to ensure pixel perfect alignment 2026-01-19 14:52:56 -08:00
Skyth 329a9f1fb2 Fix buffers in D3D12 not getting cleared with the right usage. 2026-01-15 14:50:51 +03:00
Rémi Verschelde 4db916dac6 Merge pull request #114908 from clayjohn/RD-env-roughness
Overhaul compute shader based environment roughness calculation to improve performance and quality
2026-01-13 22:20:59 +01:00
Rémi Verschelde 427eab91a2 Merge pull request #114907 from clayjohn/RD-env-filter
Fix downsampled radiance map generation
2026-01-13 22:20:55 +01:00
clayjohn e33515c2e6 Overhaul compute shader based environment roughness calculation to improve performance and quality 2026-01-12 22:07:56 -08:00
clayjohn 24c2c452de Fix downsampled radiance map generation.
Reduce the mipmap levels so that the border is pixel perfect

Always use the high quality downsample to reduce jaggies

Fix the jacobian approximation so that it actually helps account for the octahedral distortion
2026-01-12 18:56:10 -08:00
Rémi Verschelde e1ad44c496 Merge pull request #114804 from clayjohn/mobile-hdr-sky
Use luminance multiplier for sky background when using mobile renderer with HDR2D
2026-01-10 23:51:29 +01:00
Rémi Verschelde 569a36b6fe Merge pull request #114785 from blueskythlikesclouds/mali-msaa-subpass-fix
Fix MSAA crashing Mali GPUs when using subpasses.
2026-01-10 07:28:43 +01:00
clayjohn 87217e50ef Use luminance multiplier for sky background when using mobile renderer with HDR2D 2026-01-09 09:59:22 -08:00
Rémi Verschelde a7c6538093 Merge pull request #114773 from clayjohn/sky-shader-radiance-fix
Add compatibility handler to `RADIANCE` in sky shaders
2026-01-09 15:00:51 +01:00
Skyth 71582241a3 Fix MSAA crashing Mali GPUs when using subpasses. 2026-01-09 15:04:36 +03:00
clayjohn 6b4e26c479 Add compatibility handler to RADIANCE in sky shaders since the type was changed.
It was a textureCube, but now it is a texture2D. For compatibility purposes we need to continue exposing a cube texture. So we need to add this scaffolding to properly sample from it.
2026-01-08 16:19:38 -08:00
clayjohn 576afb6c18 Workaround crash in pipeline creation on intel Mesa devices by avoiding using half floats in derivative functions 2026-01-08 14:23:38 -08:00
Rémi Verschelde c8b1071f3b Merge pull request #114727 from blueskythlikesclouds/ssr-after-specular-occlusion
Prevent SSR from getting affected by specular occlusion.
2026-01-08 22:57:21 +01:00
Rémi Verschelde 8859f93c4e Merge pull request #114419 from blueskythlikesclouds/octmap-storage-format-fix
Handle `RGB10_A2` storage format in octmap shaders.
2026-01-08 22:57:17 +01:00
Skyth 614d0e2f0d Prevent SSR from getting affected by specular occlusion. 2026-01-08 11:41:21 +03:00
Skyth 25824f18f5 Handle RGB10_A2 storage format in octmap shaders. 2026-01-08 11:16:40 +03:00
Hugo Locurcio 4409c786ca Ensure all MovieWriter frames have the same resolution as the first frame
This fixes issues with certain video formats (like OGV) and video players
not supporting resolution changes during playback.

Resizing the viewport during recording is still not recommended
(as cropping and resizing has a performance cost and can impact visuals),
but it shouldn't cause crashes or broken files anymore.
2026-01-07 19:05:19 +01:00
Rémi Verschelde 7d807ec22d Merge pull request #114476 from blueskythlikesclouds/create-separate-graphics-queue-for-transfer
Create separate graphics queue instead of reusing the main queue when transfer queue family is unsupported.
2026-01-06 18:25:50 +01:00
Rémi Verschelde 23b7415b05 Merge pull request #114356 from nikitalita/fix-dummy-mesh-blend-shape
Fix setting mesh blend shape properties in dummy mesh storage
2026-01-06 18:25:43 +01:00
Thaddeus Crews f5c66ba68b Merge pull request #114279 from clayjohn/sky-singularity
Avoid singularity during sky filtering
2026-01-06 09:56:53 -06:00
Rémi Verschelde 05a46f3654 Merge pull request #114194 from blueskythlikesclouds/consistent-screen-and-viewport-sizes
Pass consistent viewport and screen sizes to fix point size emulation.
2026-01-06 10:59:54 +01:00
Rémi Verschelde bc6f6a6358 Merge pull request #113842 from blueskythlikesclouds/rd-depth-clear-on-first-use
Clear depth stencil textures on first use if the RDD requires it.
2026-01-06 10:59:42 +01:00
clayjohn 6e6d59b2e7 Avoid singularity during sky filtering by using a different method of calculating the orthonormal basis 2026-01-05 14:11:58 -08:00
Rémi Verschelde 52e7076a48 Merge pull request #114314 from blueskythlikesclouds/octmap-raster-fallback
Fall back to octmap raster path on certain devices & fix issues with the shaders.
2026-01-01 16:47:01 +01:00
Rémi Verschelde 51ff4d0458 Merge pull request #113334 from Image-unavailable/voxelgi-reflection-fix
Fix VoxelGI glossy reflection artifacts
2026-01-01 16:46:05 +01:00
Skyth 2bc63ddf08 Create separate graphics queue instead of reusing the main queue when transfer queue family is unsupported. 2025-12-31 16:46:34 +03:00
Fredia Huya-Kouadio be24804e1a Trigger save of the RD pipeline cache on application pause 2025-12-30 19:25:29 -08:00
nikitalita 84742563f8 Fix setting mesh blend shape properties in dummy mesh storage 2025-12-26 12:44:22 -08:00
Skyth 205d9814f1 Fall back to octmap raster path on certain devices & fix issues with the shaders. 2025-12-25 16:53:11 +03:00