diff --git a/filament/backend/src/webgpu/platform/WebGPUPlatform.cpp b/filament/backend/src/webgpu/platform/WebGPUPlatform.cpp index 6cc264d055..b42b9314f1 100644 --- a/filament/backend/src/webgpu/platform/WebGPUPlatform.cpp +++ b/filament/backend/src/webgpu/platform/WebGPUPlatform.cpp @@ -99,10 +99,9 @@ wgpu::Adapter WebGPUPlatform::requestAdapter(wgpu::Surface const& surface) { wgpu::Device WebGPUPlatform::requestDevice(wgpu::Adapter const& adapter) { // TODO consider passing limits - constexpr std::array desiredFeatures = { - wgpu::FeatureName::DepthClipControl, - wgpu::FeatureName::Depth32FloatStencil8, - wgpu::FeatureName::CoreFeaturesAndLimits }; + constexpr std::array desiredFeatures = { wgpu::FeatureName::DepthClipControl, + wgpu::FeatureName::Depth32FloatStencil8, wgpu::FeatureName::CoreFeaturesAndLimits, + wgpu::FeatureName::TransientAttachments }; std::vector requiredFeatures; requiredFeatures.reserve(desiredFeatures.size()); wgpu::SupportedFeatures supportedFeatures;