From a1fde8bed8d350688b78fa6045d8aa8ef7c674f1 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 15 Oct 2025 16:18:22 +0200 Subject: [PATCH] Tests: Blocklist failing Storm tests on AMD and Intel Pull Request: https://projects.blender.org/blender/blender/pulls/148148 --- tests/python/storm_render_tests.py | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/tests/python/storm_render_tests.py b/tests/python/storm_render_tests.py index af17d3d9397..87facf20897 100644 --- a/tests/python/storm_render_tests.py +++ b/tests/python/storm_render_tests.py @@ -59,6 +59,24 @@ BLOCKLIST_METAL = [ "autosmooth_custom_normals.blend", ] +# AMD seems to have similar limitations as Metal for transparency. +BLOCKLIST_AMD = BLOCKLIST_METAL + [ + "musgrave_.*_multifractal.*.blend", + "noise_lacunarity.blend", +] + +# Minor difference in texture coordinate for white noise hash. +BLOCKLIST_INTEL = [ + "autosmooth_custom_normals.blend", + "hair_reflection.blend", + "hair_transmission.blend", + "principled_bsdf_emission.blend", + "principled_bsdf_sheen.blend", + "musgrave_.*_multifractal.*.blend", + "noise_lacunarity.blend", + "sss_hair.blend", + "white_noise.*.blend", +] def setup(): @@ -121,7 +139,16 @@ def main(): from modules import render_report - blocklist = BLOCKLIST_METAL if sys.platform == "darwin" else [] + if sys.platform == "darwin": + blocklist = BLOCKLIST_METAL + else: + gpu_vendor = render_report.get_gpu_device_vendor(args.blender) + if gpu_vendor == "AMD": + blocklist = BLOCKLIST_AMD + elif gpu_vendor == "INTEL": + blocklist = BLOCKLIST_INTEL + else: + blocklist = [] if args.export_method == 'HYDRA': report = render_report.Report("Storm Hydra", args.outdir, args.oiiotool, blocklist=blocklist + BLOCKLIST_HYDRA)