Files
filament/test/renderdiff/tests/presubmit.json
Powei Feng 10702e2d07 webgpu: implement push constants with immediates (#9932)
- Add test for skinning for gl, vk, and webgpu

RDIFF_ACCEPT_NEW_GOLDENS
2026-04-23 20:22:08 +00:00

90 lines
2.8 KiB
JSON

{
"name": "presubmit",
"backends": ["opengl", "vulkan", "webgpu"],
"model_search_paths": ["third_party/models", "gltf"],
"presets": [
{
"name": "base",
"models": ["Box", "BoxTextured", "FlightHelmet", "lucy"],
"rendering": {
"camera.focalLength": 35.0,
"view.postProcessingEnabled": true,
"view.dithering": "NONE"
},
"tolerance": { // [optional] Simple tolerance - single criteria
"maxAbsDiff": 0.0196, // Max absolute difference per channel (5/255)
"maxFailingPixelsFraction": 0.001 // Percentage of pixels allowed to exceed (0.1%)
}
},
{
"name": "bloom_models",
"models": ["DamagedHelmet"],
"rendering": {}
},
{
"name": "ssao_models",
"models": ["Duck", "lucy"],
"rendering": {}
},
{
"name": "transmission_models",
"models": ["TransmissionRoughnessTest", "IridescentDishWithOlives"],
"rendering": {}
},
{
"name": "animation_models",
"models": ["Fox"],
"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",
// Disable transmission for webgpu because it seems flaky (b/488070152)
"backends": ["opengl", "vulkan"],
"apply_presets": ["base", "transmission_models"],
"rendering": {
"camera.focalLength": 52.0
}
},
{
"name": "SSAO",
"description": "Screen space ambient occulsion",
"apply_presets": ["base", "ssao_models"],
"rendering": {
"view.ssao.enabled": true
}
},
{
"name": "Skinning",
"description": "Bone skinning animation test",
"apply_presets": ["base", "animation_models"],
"rendering": {
"animation": {
"enabled": true,
"time": 0.5
}
}
}
]
}