]> git.tdb.fi Git - libs/gl.git/commit - source/glsl/compiler.cpp
Further refactor the resolving process in SL::Compiler
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 Mar 2021 10:58:23 +0000 (12:58 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 Mar 2021 13:16:19 +0000 (15:16 +0200)
commitc1d3a1d7c1997bc71a30af2e2c25cb4a2b66784b
treebbfebfe2153c657c197715a683a29c1627682777
parent4414f0245005c8cfcd02b51ea394d612cc5776c4
Further refactor the resolving process in SL::Compiler

There's now five different types of resolve operations, many of which
depend on some others.  Better put the logic in one place to keep it
straight.

This also includes some rearrangements to the resolver classes to have
all of them return a boolean indicating if anything was done.
source/glsl/compiler.cpp
source/glsl/compiler.h
source/glsl/generate.cpp
source/glsl/generate.h