]> git.tdb.fi Git - libs/gl.git/commit
Refactor program stage management
authorMikko Rasa <tdb@tdb.fi>
Sun, 25 Apr 2021 11:13:16 +0000 (14:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 25 Apr 2021 11:28:48 +0000 (14:28 +0300)
commit7f0e08f04536bf42b8f64e7dff5cc3e18b916c7b
tree29f6b6aae99cc993ba7571bc88a8f8fdbdc62830
parent9e9216405fb999a1a6c4f8865264f4e7e335e7aa
Refactor program stage management

There can't bee a huge number of stages in a program so a fixed-size
array takes less space than a vector.  It also allows accessing ids of
specific stages if needed.
source/core/program.cpp
source/core/program.h