Commit Graph

5034 Commits

Author SHA1 Message Date
Thaddeus Crews 9d2246cb11 Merge pull request #119212 from blueskythlikesclouds/d3d12-fix-msaa-subpass-resolve
Fix subpass MSAA resolves with multiple layers not working on D3D12.
2026-05-05 10:30:02 -05:00
Skyth 5aecc0da58 Fix subpass MSAA resolves with multiple layers not working on D3D12. 2026-05-04 15:29:59 +03:00
Wilson E. Alvarez e86de1802b Free LTC RIDs 2026-05-02 21:39:36 -04:00
Thaddeus Crews f059d64e3d Merge pull request #118968 from CookieBadger/area-light-lut-textures
Fix GPU validation errors due to area light LUT format
2026-04-30 10:58:09 -05:00
David Snopek 49b2043deb Fix a couple more ubo:X numbers for XR in Compatibility renderer 2026-04-28 13:21:41 -05:00
David Snopek fd1898bf5d Fix ubo:X numbers for multiview UBOs in Compatibility renderer 2026-04-27 17:56:37 -05:00
CookieBadger 7c532acc09 change LTC lookup table texture format to RGBAF and set p_8bit_dst to true in gaussian_blur 2026-04-27 21:35:46 +02:00
Thaddeus Crews 7a8adcf4d8 Merge pull request #117913 from allenwp/hdr-output-allow-request
Fix behavior of `window_is_hdr_output_supported` for Wayland and adjust warnings.
2026-04-24 15:43:32 -05:00
Thaddeus Crews 04e3d906f9 Merge pull request #114957 from LucaTuerk/fix_compat_backbuffer_allocation
Remove Compatibility RenderTarget backbuffer size limit
2026-04-23 08:34:56 -05:00
Thaddeus Crews d57f844e79 Merge pull request #118863 from LiveTrower/fix-clearcoat-area-light
Fix clearcoat intensity for area lights
2026-04-23 08:34:54 -05:00
LiveTrower 5dac818f77 Fix clearcoat intensity for area lights 2026-04-22 13:07:53 -06:00
Thaddeus Crews c3f8f7f040 Merge pull request #118850 from blueskythlikesclouds/d3d12-vertex-buffer-view-oob-write
Fix OOB writes in D3D12 when setting vertex arrays.
2026-04-22 12:54:44 -05:00
Thaddeus Crews 45aea977dd Merge pull request #118812 from blueskythlikesclouds/d3d12-nir-compute-runtime-data
Add support for `gl_NumWorkGroups` in D3D12.
2026-04-22 09:58:31 -05:00
Skyth 74e0993abf Fix OOB writes in D3D12 when setting vertex arrays. 2026-04-22 16:23:51 +03:00
Thaddeus Crews 5884e31ab7 Merge pull request #118152 from aaronfranke/init-ra-ls-rac
Initialize ReflectionAtlas in `LightStorage::reflection_atlas_create`
2026-04-21 16:46:11 -05:00
Thaddeus Crews 06fc4f8165 Merge pull request #113413 from Kaleb-Reid/fix-aa-bilinear-scaling
Fix screen-space AA when scaling using bilinear filtering
2026-04-21 08:48:00 -05:00
Skyth f13267b44b Add support for gl_NumWorkGroups in D3D12. 2026-04-21 15:31:50 +03:00
Allen Pestaluky 4309120a4a Fix DisplayServerWayland::window_is_hdr_output_supported to check rendering device for HDR output support and adjust warnings/errors. 2026-04-20 11:11:01 -04:00
Thaddeus Crews 5cb4bee8ff Merge pull request #118770 from NoctemCat/web_single_thread_add_missing_includes
[Web] Add missing includes for single threaded build
2026-04-20 09:15:27 -05:00
NoctemCat 55df36126f Add missing includes for web single thread 2026-04-20 19:00:14 +09:00
KOGA Mitsuhiro 462d6334bf Fix GLES3 scene shader int literal type errors for WebGL 2026-04-18 05:26:08 +09:00
Thaddeus Crews 2dd28a53b0 Merge pull request #116227 from Fahien/fahien-fix-as-barriers
Fix acceleration structure barriers in Vulkan pipelines
2026-04-16 21:46:56 -05:00
Kaleb Reid 08cb31b4d1 Fix screen-space AA when upscaling using bilinear filtering 2026-04-15 15:33:26 -07:00
CookieBadger eb6e4eb234 fix AreaLight3D compatibility vertex shading compilation error 2026-04-15 20:20:33 +02:00
Antonio Caggiano d8c3bc0e65 Fix acceleration structure barriers
Extract pipeline stage flags patching to a separate helper function and
remove all VK_PIPELINE_STAGE_*_SHADER_BIT flags.
2026-04-15 13:53:36 +02:00
Rémi Verschelde 9fc8f0e0cf Merge pull request #118510 from bruvzg/mac_vm_metal
[macOS] Fix Metal crash in VM.
2026-04-15 12:41:07 +02:00
Rémi Verschelde cc212fb90a Merge pull request #117788 from kleonc/canvas_item_shader_generate_sdf_on_using_normal
Generate SDF texture on `texture_sdf_normal` usage
2026-04-15 12:40:50 +02:00
Thaddeus Crews f94bbfc07c Merge pull request #118353 from Chaosus/shader_subgroups
Allow to define more than one subgroup level in shader material
2026-04-14 07:11:08 -05:00
Thaddeus Crews 473b449df7 Merge pull request #118405 from Fahien/fahien/random-raytracing-fixes
Random raytracing fixes
2026-04-14 07:11:07 -05:00
Thaddeus Crews 7ce1853014 Merge pull request #108219 from CookieBadger/area-light-integration
Add Rectangular Area Light Source
2026-04-14 07:10:56 -05:00
Antonio Caggiano 24f9ac81ba raytracing: Fix shader binding table record alignment
Raytracing shader binding table records are addressed through Vulkan
alignment rules that distinguish between the raw shader group handle size,
the per-record handle alignment, and the base alignment required for SBT
region addresses.

The previous layout treated the shader group handle size as the record
stride everywhere. This worked only on devices where the handle size
already satisfied all relevant alignment requirements. It broke down once
multiple ray generation shaders were placed in the same SBT: selecting a
non-zero raygen index advanced the raygen region address by the raw handle
size, which could produce an address that was not aligned to the required
shader group base alignment.

Separate the SBT layout into the appropriate strides:

- ray generation records use a base-aligned stride, since selecting a
  raygen shader changes the SBT region start address for the dispatch.
- miss and hit records use the handle-aligned shader group stride, since
  their regions start at a base-aligned address and individual records are
  selected through the region stride.

This keeps the CPU-side SBT population and the dispatch-time SBT regions
using the same layout, so shader group handles are written to the same
aligned slots that Vulkan later addresses.
2026-04-13 23:24:17 +02:00
Thaddeus Crews cee489f46e Merge pull request #118242 from BlueCube3310/draw-tex-set-type
Properly set `drawable_type` property in RenderingServer's `DrawableTexture`
2026-04-13 15:52:15 -05:00
Thaddeus Crews 4a54b89461 Merge pull request #118533 from clayjohn/gles3-z-clip
Restore z-clip functionality in the Compatibility renderer
2026-04-13 15:52:12 -05:00
clayjohn bdc76e0f59 Restore z-clip functionality in the Compatibility renderer 2026-04-13 12:02:44 -07:00
Pāvels Nadtočajevs ef7d5650fd [macOS] Fix Metal crash in VM. 2026-04-13 11:14:10 +03:00
TsFreddie 6c1306773c remove ERR_PRINT usage in forks 2026-04-12 18:13:32 +08:00
Thaddeus Crews 4a9684b0ff Merge pull request #117537 from allenwp/remove-10-bit-vulkan-swapchain-formats
Remove unnecessary Vulkan swap chain formats.
2026-04-10 10:32:31 -05:00
Skyth 83d2b84a51 Refactor raytracing pipelines. 2026-04-10 14:21:02 +03:00
Chaosus 5c667de60c Allow to define more than one subgroup level in shader material 2026-04-09 19:15:19 +03:00
Thaddeus Crews 755fa449c4 Merge pull request #118318 from clayjohn/compatibility-sky-shader-error
Fix compile errors in sky shader in the compatibility renderer
2026-04-08 17:00:44 -05:00
Thaddeus Crews 967b56efec Merge pull request #118317 from clayjohn/sky-shader-fallback
Ensure that sky shader automatic mode consistently uses the fallback
2026-04-08 17:00:43 -05:00
clayjohn 63c49cc668 Ensure that sky shader automatic mode consistently uses the fallback
This is necessary so that the proper backing textures can be allocated for the sky shader
2026-04-08 10:49:18 -07:00
clayjohn 7282051271 Fix compile errors when using HALF_RES_COLOR, QUARTER_RES_COLOR, or TIME in a sky shader in the compatibility renderer 2026-04-08 10:34:58 -07:00
Thaddeus Crews b6f86739b6 Merge pull request #109911 from TCROC/fix-particles-moving-timescale-0
Fix particles moving when timescale is 0
2026-04-08 09:25:25 -05:00
Pāvels Nadtočajevs eeafab862d Increase max RID count for some owners, decrease RID usage by RichTextLabel. 2026-04-07 17:07:23 +03:00
Thaddeus Crews 223c9417bd Merge pull request #115632 from akien-mga/gles3-split-platform-egl
GLES3: Split EGL includes in `platform_egl.h`
2026-04-07 06:44:49 -05:00
Thaddeus Crews df7e539878 Merge pull request #118165 from shiena/feature/update-apple-camera
Fix camera docs and port missing features to camera_apple
2026-04-07 06:44:48 -05:00
Thaddeus Crews cd32d9949f Merge pull request #118083 from allenwp/hdr-macos-vulkan
Add HDR output support to Vulkan on macOS.
2026-04-07 06:44:43 -05:00
Rémi Verschelde 7567211e8b GLES3: Split EGL includes in platform_egl.h
EGL brings in platform-specific headers such as the dreaded `windows.h`,
and `platform_gl.h` is used throughout `drivers/gles3` for basic OpenGL
types such as `GLuint`. We don't want `windows.h` pollution there.

Note for Android: EGL seems used explicitly only via `rasterizer_gles3.cpp`
to enable GL debug printing, and some custom stuff in `config.cpp`.
2026-04-07 12:07:22 +02:00
Thaddeus Crews fdc9f35119 Merge pull request #117148 from blueskythlikesclouds/rt-api-adjustments
Raytracing API adjustments.
2026-04-06 13:02:27 -05:00