Crafter.Graphics/implementations
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 3fca002ef5
fix(rt): BuildTLAS on an empty scene builds an empty TLAS
The TLAS instance and metadata buffers were sized to the instance
count, so building before anything was in the scene created zero-size
buffers. That is invalid usage: NVIDIA fails the allocation with
VK_ERROR_OUT_OF_DEVICE_MEMORY and BuildTLAS threw, leaving the TLAS with
a buffer handle that has no memory behind it.

Both buffers now get at least one slot, and the scratch buffer at least
one byte, since an empty TLAS may report no scratch at all. An empty
TLAS is valid to trace against; every ray misses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 03:03:16 +02:00
..
Crafter.Graphics-Clipboard.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-ComputeShader.cpp fix(compute): destroy the shader module once its pipeline exists 2026-10-18 01:12:21 +02:00
Crafter.Graphics-Device.cpp fix(wayland): text input enables once per focus; touches route by their finger's window 2026-10-18 03:28:02 +02:00
Crafter.Graphics-Dom.cpp wasm improvements 2026-08-05 04:08:13 +02:00
Crafter.Graphics-Font.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-FontAtlas.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-Gamepad.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-Input.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-InputField.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-Mesh-WebGPU.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-Mesh.cpp feat(vulkan): run the compute/UI path without VK_EXT_descriptor_heap 2026-10-06 17:28:46 +02:00
Crafter.Graphics-PipelineRTWebGPU.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-RenderingElement3D-WebGPU.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-RenderingElement3D.cpp fix(rt): BuildTLAS on an empty scene builds an empty TLAS 2026-10-19 03:03:16 +02:00
Crafter.Graphics-Router.cpp wasm improvements 2026-08-05 04:08:13 +02:00
Crafter.Graphics-ShaderBindingTableWebGPU.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-UI-Shared.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-UI-WebGPU.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-UI.cpp feat(vulkan): run the compute/UI path without VK_EXT_descriptor_heap 2026-10-06 17:28:46 +02:00
Crafter.Graphics-UIComponents.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-WebGPUComputeShader.cpp SPDX license update 2026-07-22 18:09:06 +02:00
Crafter.Graphics-Window.cpp fix(font-atlas): wait for the GPU before the image goes; DOM stubs for SetAppId and SetTextInput 2026-10-18 03:28:11 +02:00