diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-08 12:43:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-08 12:44:14 +0300 |
commit | d9918e3e53ff94a4e95072251594677ea88fb54e (patch) | |
tree | 380e0538068b2a0852d535dd181a19e45d56748a /source | |
parent | 922b8abea5f83d5465ef861b3efbd95c6c2b1908 (diff) |
shaders_test: correct arguments to EEVEE_shaders_cryptomatte_sh_get
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/tests/shaders_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/tests/shaders_test.cc b/source/blender/draw/tests/shaders_test.cc index 6674e3eccc1..d365f76aabe 100644 --- a/source/blender/draw/tests/shaders_test.cc +++ b/source/blender/draw/tests/shaders_test.cc @@ -332,8 +332,8 @@ TEST_F(DrawTest, eevee_glsl_shaders_static) EXPECT_NE(EEVEE_shaders_probe_grid_fill_sh_get(), nullptr); EXPECT_NE(EEVEE_shaders_probe_planar_downsample_sh_get(), nullptr); EXPECT_NE(EEVEE_shaders_renderpasses_post_process_sh_get(), nullptr); - EXPECT_NE(EEVEE_shaders_cryptomatte_sh_get(index, false), nullptr); - EXPECT_NE(EEVEE_shaders_cryptomatte_sh_get(index, true), nullptr); + EXPECT_NE(EEVEE_shaders_cryptomatte_sh_get(false), nullptr); + EXPECT_NE(EEVEE_shaders_cryptomatte_sh_get(true), nullptr); EXPECT_NE(EEVEE_shaders_shadow_sh_get(), nullptr); EXPECT_NE(EEVEE_shaders_shadow_accum_sh_get(), nullptr); EXPECT_NE(EEVEE_shaders_subsurface_first_pass_sh_get(), nullptr); |