|
Blender
V2.93
|
#include "testing/mock_log.h"#include "testing/testing.h"#include "device/device.h"#include "render/graph.h"#include "render/nodes.h"#include "render/scene.h"#include "util/util_array.h"#include "util/util_logging.h"#include "util/util_stats.h"#include "util/util_string.h"#include "util/util_vector.h"Go to the source code of this file.
Classes | |
| class | CCL_NAMESPACE_BEGIN::ShaderNodeBuilder< T > |
| class | CCL_NAMESPACE_BEGIN::ShaderGraphBuilder |
| class | RenderGraph |
Namespaces | |
| CCL_NAMESPACE_BEGIN | |
Macros | |
| #define | EXPECT_ANY_MESSAGE(log) EXPECT_CALL(log, Log(_, _, _)).Times(AnyNumber()); |
| #define | CORRECT_INFO_MESSAGE(log, message) EXPECT_CALL(log, Log(google::INFO, _, HasSubstr(message))); |
| #define | INVALID_INFO_MESSAGE(log, message) EXPECT_CALL(log, Log(google::INFO, _, HasSubstr(message))).Times(0); |
Functions | |
| TEST_F (RenderGraph, deduplicate_deep) | |
| TEST_F (RenderGraph, constant_fold_rgb_to_bw) | |
| TEST_F (RenderGraph, constant_fold_emission1) | |
| TEST_F (RenderGraph, constant_fold_emission2) | |
| TEST_F (RenderGraph, constant_fold_background1) | |
| TEST_F (RenderGraph, constant_fold_background2) | |
| TEST_F (RenderGraph, constant_fold_shader_add) | |
| TEST_F (RenderGraph, constant_fold_shader_mix) | |
| TEST_F (RenderGraph, constant_fold_invert) | |
| TEST_F (RenderGraph, constant_fold_invert_fac_0) | |
| TEST_F (RenderGraph, constant_fold_invert_fac_0_const) | |
| TEST_F (RenderGraph, constant_fold_mix_add) | |
| TEST_F (RenderGraph, constant_fold_mix_add_clamp) | |
| TEST_F (RenderGraph, constant_fold_part_mix_dodge_no_fac_0) | |
| TEST_F (RenderGraph, constant_fold_part_mix_light_no_fac_0) | |
| TEST_F (RenderGraph, constant_fold_part_mix_burn_no_fac_0) | |
| TEST_F (RenderGraph, constant_fold_part_mix_blend_clamped_no_fac_0) | |
| TEST_F (RenderGraph, constant_fold_part_mix_blend) | |
| TEST_F (RenderGraph, constant_fold_part_mix_sub_same_fac_bad) | |
| TEST_F (RenderGraph, constant_fold_part_mix_sub_same_fac_1) | |
| static void | build_mix_partial_test_graph (ShaderGraphBuilder &builder, NodeMix type, float3 constval) |
| TEST_F (RenderGraph, constant_fold_part_mix_add_0) | |
| TEST_F (RenderGraph, constant_fold_part_mix_sub_0) | |
| TEST_F (RenderGraph, constant_fold_part_mix_mul_1) | |
| TEST_F (RenderGraph, constant_fold_part_mix_div_1) | |
| TEST_F (RenderGraph, constant_fold_part_mix_mul_0) | |
| TEST_F (RenderGraph, constant_fold_part_mix_div_0) | |
| TEST_F (RenderGraph, constant_fold_separate_combine_rgb) | |
| TEST_F (RenderGraph, constant_fold_separate_combine_xyz) | |
| TEST_F (RenderGraph, constant_fold_separate_combine_hsv) | |
| TEST_F (RenderGraph, constant_fold_gamma) | |
| TEST_F (RenderGraph, constant_fold_gamma_part_0) | |
| TEST_F (RenderGraph, constant_fold_gamma_part_1) | |
| TEST_F (RenderGraph, constant_fold_bright_contrast) | |
| TEST_F (RenderGraph, constant_fold_blackbody) | |
| TEST_F (RenderGraph, constant_fold_math) | |
| TEST_F (RenderGraph, constant_fold_math_clamp) | |
| static void | build_math_partial_test_graph (ShaderGraphBuilder &builder, NodeMathType type, float constval) |
| TEST_F (RenderGraph, constant_fold_part_math_add_0) | |
| TEST_F (RenderGraph, constant_fold_part_math_sub_0) | |
| TEST_F (RenderGraph, constant_fold_part_math_mul_1) | |
| TEST_F (RenderGraph, constant_fold_part_math_div_1) | |
| TEST_F (RenderGraph, constant_fold_part_math_mul_0) | |
| TEST_F (RenderGraph, constant_fold_part_math_div_0) | |
| TEST_F (RenderGraph, constant_fold_part_math_pow_0) | |
| TEST_F (RenderGraph, constant_fold_part_math_pow_1) | |
| TEST_F (RenderGraph, constant_fold_vector_math) | |
| static void | build_vecmath_partial_test_graph (ShaderGraphBuilder &builder, NodeVectorMathType type, float3 constval) |
| TEST_F (RenderGraph, constant_fold_part_vecmath_add_0) | |
| TEST_F (RenderGraph, constant_fold_part_vecmath_sub_0) | |
| TEST_F (RenderGraph, constant_fold_part_vecmath_cross_0) | |
| TEST_F (RenderGraph, constant_fold_bump) | |
| TEST_F (RenderGraph, constant_fold_bump_no_input) | |
| template<class T > | |
| void | init_test_curve (array< T > &buffer, T start, T end, int steps) |
| TEST_F (RenderGraph, constant_fold_rgb_curves) | |
| TEST_F (RenderGraph, constant_fold_rgb_curves_fac_0) | |
| TEST_F (RenderGraph, constant_fold_rgb_curves_fac_0_const) | |
| TEST_F (RenderGraph, constant_fold_vector_curves) | |
| TEST_F (RenderGraph, constant_fold_vector_curves_fac_0) | |
| TEST_F (RenderGraph, constant_fold_rgb_ramp) | |
| TEST_F (RenderGraph, constant_fold_rgb_ramp_flat) | |
| TEST_F (RenderGraph, constant_fold_convert_float_color_float) | |
| TEST_F (RenderGraph, constant_fold_convert_color_vector_color) | |
| TEST_F (RenderGraph, constant_fold_convert_color_float_color) | |
| #define CORRECT_INFO_MESSAGE | ( | log, | |
| message | |||
| ) | EXPECT_CALL(log, Log(google::INFO, _, HasSubstr(message))); |
Definition at line 197 of file render_graph_finalize_test.cpp.
| #define EXPECT_ANY_MESSAGE | ( | log | ) | EXPECT_CALL(log, Log(_, _, _)).Times(AnyNumber()); |
Definition at line 195 of file render_graph_finalize_test.cpp.
| #define INVALID_INFO_MESSAGE | ( | log, | |
| message | |||
| ) | EXPECT_CALL(log, Log(google::INFO, _, HasSubstr(message))).Times(0); |
Definition at line 200 of file render_graph_finalize_test.cpp.
|
static |
Definition at line 1020 of file render_graph_finalize_test.cpp.
References NODE_MATH_ADD, and type.
Referenced by TEST_F().
|
static |
Definition at line 629 of file render_graph_finalize_test.cpp.
References NODE_MIX_ADD, and type.
Referenced by TEST_F().
|
static |
Definition at line 1190 of file render_graph_finalize_test.cpp.
References NODE_VECTOR_MATH_ADD, and type.
Referenced by TEST_F().
| TEST_F | ( | RenderGraph | , |
| constant_fold_background1 | |||
| ) |
Definition at line 283 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), scene, and zero_float3().
| TEST_F | ( | RenderGraph | , |
| constant_fold_background2 | |||
| ) |
Definition at line 295 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_blackbody | |||
| ) |
Definition at line 959 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_bright_contrast | |||
| ) |
Definition at line 941 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_bump | |||
| ) |
Definition at line 1263 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_bump_no_input | |||
| ) |
Definition at line 1279 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_convert_color_float_color | |||
| ) |
Definition at line 1522 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_convert_color_vector_color | |||
| ) |
Definition at line 1500 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, NODE_VECTOR_MATH_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_convert_float_color_float | |||
| ) |
Definition at line 1480 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_emission1 | |||
| ) |
Definition at line 257 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), scene, and zero_float3().
| TEST_F | ( | RenderGraph | , |
| constant_fold_emission2 | |||
| ) |
Definition at line 268 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_gamma | |||
| ) |
Definition at line 866 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_gamma_part_0 | |||
| ) |
Definition at line 883 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MIX_ADD, scene, and zero_float3().
| TEST_F | ( | RenderGraph | , |
| constant_fold_gamma_part_1 | |||
| ) |
Definition at line 912 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), NODE_MIX_ADD, one_float3(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_invert | |||
| ) |
Definition at line 364 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_invert_fac_0 | |||
| ) |
Definition at line 382 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_invert_fac_0_const | |||
| ) |
Definition at line 399 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_math | |||
| ) |
Definition at line 981 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), NODE_MATH_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_math_clamp | |||
| ) |
Definition at line 1000 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), NODE_MATH_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_mix_add | |||
| ) |
Definition at line 417 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, NODE_MIX_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_mix_add_clamp | |||
| ) |
Definition at line 438 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, NODE_MIX_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_add_0 | |||
| ) |
Definition at line 1050 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_div_0 | |||
| ) |
Definition at line 1126 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_DIVIDE, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_div_1 | |||
| ) |
Definition at line 1095 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_DIVIDE, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_mul_0 | |||
| ) |
Definition at line 1110 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), NODE_MATH_MULTIPLY, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_mul_1 | |||
| ) |
Definition at line 1080 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_MULTIPLY, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_pow_0 | |||
| ) |
Definition at line 1141 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_POWER, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_pow_1 | |||
| ) |
Definition at line 1156 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_POWER, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_math_sub_0 | |||
| ) |
Definition at line 1065 of file render_graph_finalize_test.cpp.
References build_math_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MATH_SUBTRACT, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_add_0 | |||
| ) |
Definition at line 686 of file render_graph_finalize_test.cpp.
References build_mix_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_MIX_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_blend | |||
| ) |
Definition at line 548 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), NODE_MIX_BLEND, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_blend_clamped_no_fac_0 | |||
| ) |
Definition at line 525 of file render_graph_finalize_test.cpp.
References EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MIX_BLEND, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_burn_no_fac_0 | |||
| ) |
Definition at line 503 of file render_graph_finalize_test.cpp.
References EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MIX_BURN, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_div_0 | |||
| ) |
Definition at line 776 of file render_graph_finalize_test.cpp.
References build_mix_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_MIX_DIV, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_div_1 | |||
| ) |
Definition at line 739 of file render_graph_finalize_test.cpp.
References build_mix_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_MIX_DIV, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_dodge_no_fac_0 | |||
| ) |
Definition at line 459 of file render_graph_finalize_test.cpp.
References EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MIX_DODGE, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_light_no_fac_0 | |||
| ) |
Definition at line 481 of file render_graph_finalize_test.cpp.
References EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MIX_LIGHT, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_mul_0 | |||
| ) |
Definition at line 756 of file render_graph_finalize_test.cpp.
References build_mix_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_MIX_MUL, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_mul_1 | |||
| ) |
Definition at line 721 of file render_graph_finalize_test.cpp.
References build_mix_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_MIX_MUL, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_sub_0 | |||
| ) |
Definition at line 704 of file render_graph_finalize_test.cpp.
References build_mix_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_MIX_SUB, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_sub_same_fac_1 | |||
| ) |
Definition at line 608 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), NODE_MIX_SUB, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_mix_sub_same_fac_bad | |||
| ) |
Definition at line 587 of file render_graph_finalize_test.cpp.
References EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), NODE_MIX_SUB, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_vecmath_add_0 | |||
| ) |
Definition at line 1217 of file render_graph_finalize_test.cpp.
References build_vecmath_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_VECTOR_MATH_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_vecmath_cross_0 | |||
| ) |
Definition at line 1247 of file render_graph_finalize_test.cpp.
References build_vecmath_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, NODE_VECTOR_MATH_CROSS_PRODUCT, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_part_vecmath_sub_0 | |||
| ) |
Definition at line 1232 of file render_graph_finalize_test.cpp.
References build_vecmath_partial_test_graph(), CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), make_float3, NODE_VECTOR_MATH_SUBTRACT, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_rgb_curves | |||
| ) |
Definition at line 1302 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, curve, EXPECT_ANY_MESSAGE, graph, init_test_curve(), KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_rgb_curves_fac_0 | |||
| ) |
Definition at line 1326 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, curve, EXPECT_ANY_MESSAGE, graph, init_test_curve(), KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_rgb_curves_fac_0_const | |||
| ) |
Definition at line 1350 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, curve, EXPECT_ANY_MESSAGE, graph, init_test_curve(), KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_rgb_ramp | |||
| ) |
Definition at line 1422 of file render_graph_finalize_test.cpp.
References alpha, CORRECT_INFO_MESSAGE, curve, EXPECT_ANY_MESSAGE, graph, init_test_curve(), KDL::log(), make_float3, NODE_MIX_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_rgb_ramp_flat | |||
| ) |
Definition at line 1451 of file render_graph_finalize_test.cpp.
References alpha, CORRECT_INFO_MESSAGE, curve, EXPECT_ANY_MESSAGE, graph, init_test_curve(), KDL::log(), make_float3, NODE_MIX_ADD, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_rgb_to_bw | |||
| ) |
Definition at line 238 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_separate_combine_hsv | |||
| ) |
Definition at line 843 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_separate_combine_rgb | |||
| ) |
Definition at line 795 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_separate_combine_xyz | |||
| ) |
Definition at line 818 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_shader_add | |||
| ) |
Definition at line 310 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, INVALID_INFO_MESSAGE, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_shader_mix | |||
| ) |
Definition at line 335 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_vector_curves | |||
| ) |
Definition at line 1374 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, curve, EXPECT_ANY_MESSAGE, graph, init_test_curve(), KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_vector_curves_fac_0 | |||
| ) |
Definition at line 1398 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, curve, EXPECT_ANY_MESSAGE, graph, init_test_curve(), KDL::log(), make_float3, and scene.
| TEST_F | ( | RenderGraph | , |
| constant_fold_vector_math | |||
| ) |
Definition at line 1171 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, graph, KDL::log(), make_float3, NODE_VECTOR_MATH_SUBTRACT, and scene.
| TEST_F | ( | RenderGraph | , |
| deduplicate_deep | |||
| ) |
Definition at line 206 of file render_graph_finalize_test.cpp.
References CORRECT_INFO_MESSAGE, EXPECT_ANY_MESSAGE, EXPECT_EQ(), graph, KDL::log(), NODE_MIX_BLEND, and scene.