]> git.tdb.fi Git - libs/gl.git/commit
Give declaration nodes to all GLSL types.
authorMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 23:06:46 +0000 (01:06 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 23:16:31 +0000 (01:16 +0200)
commit4c805f55d89919d6971d600102ab4d6d65d56dc3
tree491195bd383a680e9d6120696b19b5924d1bd608
parenta82fcc462550d63a101aca4313807b1320789a5a
Give declaration nodes to all GLSL types.

Even the builtin ones.  This makes various operations with expressions
easier and helps with SPIR-V.
15 files changed:
builtin_data/_builtin.glsl
source/glsl/builtin.cpp
source/glsl/compiler.cpp
source/glsl/debug.cpp
source/glsl/debug.h
source/glsl/generate.cpp
source/glsl/generate.h
source/glsl/parser.cpp
source/glsl/parser.h
source/glsl/syntax.cpp
source/glsl/syntax.h
source/glsl/validate.cpp
source/glsl/validate.h
source/glsl/visitor.cpp
source/glsl/visitor.h