From c60a1a98b9f3feaeb45e5c21c4922d056611d259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 16 Oct 2023 13:46:05 +0200 Subject: [PATCH] TextureTools: no, it's no longer creating a shader every time. This was fixed back in f0bb710cd3c6b500f33a756df64e00ebf62cee13, shortly after adding the benchmark, but the comment wasn't removed by accident. --- src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp b/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp index ea33d5206..117d4f167 100644 --- a/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp +++ b/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp @@ -344,8 +344,6 @@ void DistanceFieldGLTest::benchmark() { GL::DebugOutput::setCallback(nullptr); CORRADE_BENCHMARK(5) { - /* This is creating the shader from scratch every time, so no wonder - it's so freaking slow */ distanceField(input, output, {{}, Vector2i{64}} #ifdef MAGNUM_TARGET_GLES , inputImage->size()