]> git.tdb.fi Git - libs/gl.git/commitdiff
Actually call the collect_builtins function in Program
authorMikko Rasa <tdb@tdb.fi>
Mon, 8 Nov 2021 13:28:43 +0000 (15:28 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 8 Nov 2021 13:28:43 +0000 (15:28 +0200)
This was forgotten from f82ef71.

source/core/program.cpp

index 57ef987950d9dbbaed82d3a75669b53a6b7fbc20..64e1ae30f4a9a38f0b749cb82109a3f5c8576a50 100644 (file)
@@ -38,6 +38,7 @@ void Program::add_stages(const Module &mod, const map<string, int> &spec_values)
        {
                collect_uniforms(static_cast<const SpirVModule &>(mod));
                collect_attributes(static_cast<const SpirVModule &>(mod));
+               collect_builtins(static_cast<const SpirVModule &>(mod));
        }
 
        finalize_uniforms();