]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix a compile error in the GLSL compiler test runner
authorMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 11:47:16 +0000 (14:47 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 16:34:35 +0000 (19:34 +0300)
tests/glsl/glslcompiler.cpp

index dbac0f516a02d7334feb37fb0dc03d97bd734947..e4b36a398e6b88ca965098b3d3a8a3ed37902e64 100644 (file)
@@ -355,7 +355,7 @@ void GlslCompilerSpirV::run_test_case(const TestCase *test_case)
        compiler.set_source(test_case->source, "<test>");
        compiler.compile(GL::SL::Compiler::SPIRV);
 
        compiler.set_source(test_case->source, "<test>");
        compiler.compile(GL::SL::Compiler::SPIRV);
 
-       vector<UInt32> code = compiler.get_combined_spirv();
+       vector<uint32_t> code = compiler.get_combined_spirv();
        if(!spirv_tools.Validate(code))
                fail("Invalid SPIR-V generated");
 }
        if(!spirv_tools.Validate(code))
                fail("Invalid SPIR-V generated");
 }