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, "<test>");
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, "<test>");
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(), "<loopback>");
compiler2.compile(test_case->compile_mode);
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, "<test>");
compiler.compile(GL::SL::Compiler::SPIRV);