diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-09-01 11:55:12 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-09-01 11:57:20 +0300 |
commit | 1449ae042ef2556192e5f9b4ea85348e1fa81a3f (patch) | |
tree | 213e76b9ecfdfcd6494dfdd92d8130a581598f58 /source/blender/draw/tests/shaders_test.cc | |
parent | c78c4252669a83c90188d90df6089f6e3a7b31c6 (diff) |
Cleanup: EEVEE bloom shaders
- moved to eevee_shaders
- added to test suite
Reviewed By: Clément Foucault
Differential Revision: https://developer.blender.org/D8763
Diffstat (limited to 'source/blender/draw/tests/shaders_test.cc')
-rw-r--r-- | source/blender/draw/tests/shaders_test.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/draw/tests/shaders_test.cc b/source/blender/draw/tests/shaders_test.cc index c991b791686..124049a13e2 100644 --- a/source/blender/draw/tests/shaders_test.cc +++ b/source/blender/draw/tests/shaders_test.cc @@ -252,6 +252,14 @@ TEST_F(DrawTest, eevee_glsl_shaders_static) EEVEE_shaders_lightprobe_shaders_init(); EEVEE_shaders_material_shaders_init(); + EXPECT_NE(EEVEE_shaders_bloom_blit_get(false), nullptr); + EXPECT_NE(EEVEE_shaders_bloom_blit_get(true), nullptr); + EXPECT_NE(EEVEE_shaders_bloom_downsample_get(false), nullptr); + EXPECT_NE(EEVEE_shaders_bloom_downsample_get(true), nullptr); + EXPECT_NE(EEVEE_shaders_bloom_upsample_get(false), nullptr); + EXPECT_NE(EEVEE_shaders_bloom_upsample_get(true), nullptr); + EXPECT_NE(EEVEE_shaders_bloom_resolve_get(false), nullptr); + EXPECT_NE(EEVEE_shaders_bloom_resolve_get(true), nullptr); EXPECT_NE(EEVEE_shaders_probe_filter_glossy_sh_get(), nullptr); EXPECT_NE(EEVEE_shaders_probe_filter_diffuse_sh_get(), nullptr); EXPECT_NE(EEVEE_shaders_probe_filter_visibility_sh_get(), nullptr); |