- Fix handling of cases where a texture's number of array layers exceeds the maximum number of array layers per pass.
- Add support for specifying the maximum number of array layers that can be downsampled per pass when configuring the device using
SPDPrepareDeviceDescriptor.maxArrayLayersPerPass
. - Add support for specifying the maximum number of mip levels that can be downsampled per pass when configuring the device using
SPDPrepareDeviceDescriptor.maxMipsPerPass
. - Add support for using
f16
instead off32
during downsampling.
- Depending on the limit supported by a device, up to 12 mip levels can be generated within a single pass now.
WebGPUSinglePassDownsampler.setPreferredLimits
now accepts an optionalGPUAdapter
as input to clamp this limit to what the adapter allows.
- Fix handling of integer formats (
i32
andu32
).