Files
filament/test/renderdiff/tests/presubmit.json
Powei Feng d8e8aafad7 vk: fix VulkanPlatform CString usage (#9266) (#9260)
Since #9259, CString in VulkanPlatform fall into the literal
constructor path. But we really want the null-terminated
(char const*) path.  So we cast the strings to (char const*)
to enforce null-teriminated behavior.

RDIFF_BRANCH=pf/renderdiff-add-tolerance
2025-09-26 23:42:56 +00:00

44 lines
1.4 KiB
JSON

{
"name": "presubmit",
"backends": ["opengl", "vulkan", "webgpu"],
"model_search_paths": ["third_party/models", "gltf"],
"presets": [
{
"name": "base",
"models": ["Box", "BoxTextured", "Duck", "lucy", "FlightHelmet"],
"rendering": {
"viewer.cameraFocusDistance": 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": "helmet_only",
"models": ["DamagedHelmet"],
"rendering": {}
}
],
"tests": [
{
"name": "Bloom",
"description": "Testing bloom",
"apply_presets": ["base", "helmet_only"],
"rendering": {
"view.bloom.enabled": true
}
},
{
"name": "MSAA",
"description": "Testing multisampling anti-aliasing",
"apply_presets": ["base"],
"rendering": {
"view.msaa.enabled": true
}
}
]
}