Fix: Vulkan: Volume Workbench Tests

Due to an incorrect assumption float buffers were converted to sRGB
values when uploading to an sRGBA8 texture. This is done when rendering
flames in workbench and resulted in to bright renders.

This PR removes sRGB encoding when uploading float values to sRGBA8 textures.

Fixes:
- render/openvdb/fire
- render/openvdb/principled_blackbody
- render/openvdb/smoke_fire

Pull Request: https://projects.blender.org/blender/blender/pulls/146636
This commit is contained in:
Jeroen Bakker
2025-09-23 14:44:42 +02:00
parent 52c028e0b0
commit e0a056574d
2 changed files with 3 additions and 25 deletions

View File

@@ -101,6 +101,8 @@ def main():
test_dir_name = Path(args.testdir).name
if test_dir_name.startswith('hair') and platform.system() == "Darwin":
report.set_fail_threshold(0.050)
if test_dir_name.startswith('openvdb'):
report.set_fail_threshold(0.04)
ok = report.run(args.testdir, args.blender, get_arguments, batch=args.batch)