blender/intern/cycles/test
Brecht Van Lommel 33b629d65b Cycles: Reduce GPU integrator state with smaller data types
Some values don't need full float precision, and with millions of states
reducing memory usage is important, while the math to pack/unpack these
is quite cheap. On CPU full precision is used since there are few states
and the extra conversion cost only hurts.

This gives a 2% reduction in state size with just
KERNEL_FEATURE_PATH_TRACING, and 9% reduction when enabling more
features like LIGHT_PASSES + DENOISING or SUBSURFACE + VOLUME.

Benchmarks do not show any significant impact on GPU render time either
way.

Pull Request: https://projects.blender.org/blender/blender/pulls/161876
2026-09-20 00:13:07 +02:00
..
CMakeLists.txt Cycles: Add spherical harmonics attribute 2026-09-02 16:43:18 +02:00
integrator_adaptive_sampling_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
integrator_render_scheduler_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
integrator_tile_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
kernel_camera_projection_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
render_graph_finalize_test.cpp Refactor: Cycles: Use packed_float3 for arrays, accessors for geometry data 2026-05-27 22:01:24 +02:00
util_aligned_malloc_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_boundbox_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_cache_limiter_test.cpp Refactor: Cycles: Add cache limiter utility 2026-02-25 17:07:18 +01:00
util_float8_avx2_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_float8_avx_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_float8_sse2_test.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
util_float8_test.h Cycles: Half float denormals and optimizations 2026-02-09 13:01:08 +01:00
util_half_avx2_test.cpp Cycles: Half float denormals and optimizations 2026-02-09 13:01:08 +01:00
util_half_test.cpp Cycles: Half float denormals and optimizations 2026-02-09 13:01:08 +01:00
util_half_test.h Cycles: Reduce GPU integrator state with smaller data types 2026-09-20 00:13:07 +02:00
util_ies_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_math_fast_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_math_float3_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_math_float3x3_test.cpp Cycles: Add Quaternion attribute type 2026-09-02 09:08:34 +02:00
util_math_float4_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_math_quaternion_test.cpp Cycles: Add Quaternion attribute type 2026-09-02 09:08:34 +02:00
util_math_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_md5_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_path_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_rgbe_test.cpp Cleanup: spelling in comments (make check_spelling_*) 2025-08-24 06:26:08 +00:00
util_simd_test.cpp Tests: Cycles: Add bit manipulation function tests 2026-02-25 17:07:10 +01:00
util_string_test.cpp Cycles: Show CPU only name under Cycles devices for CPU 2025-12-05 20:14:19 +01:00
util_task_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_time_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_transform_test.cpp Cleanup: Cycles: Use gtest header instead of Blender test header 2025-07-31 19:46:54 +02:00
util_types_base_test.cpp Tests: Cycles: Add tests and comments for functions in types_base.h 2026-02-25 17:07:08 +01:00
util_types_spherical_harmonics_test.cpp Fix: Cycles: Zeroing spherical harmonics gives -1 instead of 0 2026-09-07 14:34:08 +02:00