From d29b82596d6c21dd2b04fb2a24d3d3f3a1cc9b7b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 16 Oct 2021 16:55:38 +0300 Subject: [PATCH] Adjust function names in the GLSL compiler test runner Make them match the changes in d1e4737. --- tests/glsl/glslcompiler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/glsl/glslcompiler.cpp b/tests/glsl/glslcompiler.cpp index e4b36a39..3debd721 100644 --- a/tests/glsl/glslcompiler.cpp +++ b/tests/glsl/glslcompiler.cpp @@ -251,7 +251,7 @@ GlslCompilerTest::GlslCompilerTest() void GlslCompilerTest::run_test_case(const TestCase *test_case) { - GL::SL::Compiler compiler(GL::SL::Features::latest()); + GL::SL::Compiler compiler(GL::SL::Features::opengl_latest()); try { compiler.set_source(test_case->source, ""); @@ -308,13 +308,13 @@ GlslCompilerIdempotence::GlslCompilerIdempotence() void GlslCompilerIdempotence::run_test_case(const TestCase *test_case) { - GL::SL::Compiler compiler(GL::SL::Features::latest()); + GL::SL::Compiler compiler(GL::SL::Features::opengl_latest()); compiler.set_source(test_case->source, ""); if(test_case->compile_mode==GL::SL::Compiler::PROGRAM) compiler.specialize(test_case->spec_values); compiler.compile(test_case->compile_mode); - GL::SL::Compiler compiler2(GL::SL::Features::latest()); + GL::SL::Compiler compiler2(GL::SL::Features::opengl_latest()); compiler2.set_source(compiler.get_combined_glsl(), ""); compiler2.compile(test_case->compile_mode); @@ -351,7 +351,7 @@ GlslCompilerSpirV::GlslCompilerSpirV(): void GlslCompilerSpirV::run_test_case(const TestCase *test_case) { - GL::SL::Compiler compiler(GL::SL::Features::latest()); + GL::SL::Compiler compiler(GL::SL::Features::opengl_latest()); compiler.set_source(test_case->source, ""); compiler.compile(GL::SL::Compiler::SPIRV); -- 2.45.2