diff --git a/filament/backend/src/webgpu/WGPUProgram.cpp b/filament/backend/src/webgpu/WGPUProgram.cpp index 9eb3f622ee..dbcf27af82 100644 --- a/filament/backend/src/webgpu/WGPUProgram.cpp +++ b/filament/backend/src/webgpu/WGPUProgram.cpp @@ -163,7 +163,7 @@ std::vector convertConstants( // CONFIG_SRGB_SWAPCHAIN_EMULATION (3) is being skipped all together since it's only // included for the case of mFeatureLevel == FeatureLevel::FEATURE_LEVEL_0, which should // not be possible for WebGPU - if (constant.id == 1 || constant.id == 3 || constant.id == 4) { + if (constant.id == 1 || constant.id == 3 || constant.id == 4 || constant.id > 10 ) { continue; } double value = 0.0;