]> git.tdb.fi Git - libs/gl.git/commit
Redesign loading of GLSL sources
authorMikko Rasa <tdb@tdb.fi>
Fri, 23 Apr 2021 21:43:56 +0000 (00:43 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 23 Apr 2021 21:43:56 +0000 (00:43 +0300)
commitf901fcf41d8ca544085f448227f84bc6f966660d
treeaff4fb914b8fbcbadd2fb4f19206b9949fc41eee
parente484dab089e86e889f007ad362f72337542015a0
Redesign loading of GLSL sources

There's now a new class which holds parsed modules.  Parser no longer
creates modules and the parse functions take the target module as a
parameter.
source/glsl/builtin.cpp
source/glsl/compiler.cpp
source/glsl/compiler.h
source/glsl/modulecache.cpp [new file with mode: 0644]
source/glsl/modulecache.h [new file with mode: 0644]
source/glsl/parser.cpp
source/glsl/parser.h