Files
filament/test/renderdiff/tests/presubmit.json
Powei Feng 3207c31721 renderdiff: disable webgpu + bloom due to flake (#9368)
WebGPU's rendering of bloom sems to be non-deterministic.  This
is not expected.  For now, we disable bloom+webgpu to avoid
hitting flakes in our CI.

This required a slight refactoring of the test configuration
parsing and execution scripts.

RDIFF_BRANCH=pf/renderdiff-disable-bloom-webgpu
2025-10-31 06:55:44 +00:00

72 lines
2.3 KiB
JSON

{
"name": "presubmit",
"backends": ["opengl", "vulkan", "webgpu"],
"model_search_paths": ["third_party/models", "gltf"],
"presets": [
{
"name": "base",
"models": ["Box", "BoxTextured", "FlightHelmet", "lucy"],
"rendering": {
"viewer.cameraFocalLength": 35.0,
"view.postProcessingEnabled": true,
"view.dithering": "NONE"
},
"tolerance": { // [optional] Simple tolerance - single criteria
"max_pixel_diff": 5, // Max absolute difference per channel (0-255)
"allowed_diff_pixels": 0.1 // Percentage of pixels allowed to exceed (0-100%)
}
},
{
"name": "bloom_models",
"models": ["DamagedHelmet"],
"rendering": {}
},
{
"name": "ssao_models",
"models": ["Duck", "lucy"],
"rendering": {}
},
{
"name": "transmission_models",
"models": ["TransmissionRoughnessTest", "IridescentDishWithOlives"],
"rendering": {}
}
],
"tests": [
{
"name": "Bloom",
"description": "Bloom",
"apply_presets": ["base", "bloom_models"],
// Do not include "webgpu" in the following backend since it is flaky (b/454921221)
"backends": ["opengl", "vulkan"],
"rendering": {
"view.bloom.enabled": true
}
},
{
"name": "MSAA",
"description": "Multisampling anti-aliasing",
"apply_presets": ["base"],
"rendering": {
"view.msaa.enabled": true
}
},
{
"name": "Transimssion",
"description": "transmission",
"apply_presets": ["base", "transmission_models"],
"rendering": {
"viewer.cameraFocalLength": 52.0
}
},
{
"name": "SSAO",
"description": "Screen space ambient occulsion",
"apply_presets": ["base", "ssao_models"],
"rendering": {
"view.ssao.enabled": true
}
}
]
}