Crafter.Graphics/examples/CustomShader
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf c97a3048fb
fix(webgpu): drop the removed UICustomBinding::_pad from the CustomShader example
Examples
- CustomShader did not build for wasm32-wasip1: its DOM branch still set
  UICustomBinding::_pad, which 097cc37 (#27) turned into format. The
  invalid designator left the bindings array of incomplete type, so the
  Load call after it found no overload either. The designator is dropped
  rather than renamed, as HDRBloom does: format is 0 for anything but a
  StorageTexture binding, and a buffer binding has no texel format to
  give. The native branch was never affected.
- Every other example with a DOM path (HelloUI, HelloDom, HDRBloom,
  RayQueryPick, RTMultiShadow, RTStress, RTVolume, VulkanTriangle,
  Sponza) builds for wasm at this commit. Nothing builds them
  otherwise, which is how this one fell behind.

Closes #158.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 08:07:00 +01:00
..
inverse-circle.comp.glsl feat(vulkan): run the compute/UI path without VK_EXT_descriptor_heap 2026-10-06 17:28:46 +02:00
inverse-circle.comp.wgsl SPDX license update 2026-07-22 18:09:06 +02:00
main.cpp fix(webgpu): drop the removed UICustomBinding::_pad from the CustomShader example 2026-10-31 08:07:00 +01:00
project.cpp feat(vulkan): run the compute/UI path without VK_EXT_descriptor_heap 2026-10-06 17:28:46 +02:00