X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=deinterlace_effect_test.cpp;fp=deinterlace_effect_test.cpp;h=dec132246e09a6aef4e40e41faf66fcce38542f2;hp=0ac19532f7351d1c463cdb5731455e2c8bd43539;hb=9823bfb683591e2b0fd844fa206ac888a9fef01a;hpb=4179bef190d88739038233ac5d7e5ffa2ff4282f diff --git a/deinterlace_effect_test.cpp b/deinterlace_effect_test.cpp index 0ac1953..dec1322 100644 --- a/deinterlace_effect_test.cpp +++ b/deinterlace_effect_test.cpp @@ -230,7 +230,7 @@ TestFormat bgra_format = { FORMAT_BGRA_PREMULTIPLIED_ALPHA, GL_BGRA, 4 }; void BM_DeinterlaceEffect(benchmark::State &state, TestFormat format, bool spatial_interlacing_check, const std::string &shader_type) { DisableComputeShadersTemporarily disabler(shader_type == "fragment"); - if (disabler.should_skip()) return; + if (disabler.should_skip(&state)) return; unsigned width = state.range(0), height = state.range(1); unsigned field_height = height / 2;