]> git.tdb.fi Git - libs/gl.git/commit - source/glsl/compiler.cpp
Use a different method of adding builtins to stages
authorMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 21:26:19 +0000 (23:26 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 22:30:28 +0000 (00:30 +0200)
commit9328859840052a49ca3ba868e35fcf64d417c623
tree2cea8c10bdbb841776c8ab742dd0bba8467d3102
parent0cb938299e58703c70d0196f4b3dee441a6416a7
Use a different method of adding builtins to stages

This gets them in the correct order with the module's shared stage, and
also allows builtins to have shared declarations.
source/glsl/builtin.cpp
source/glsl/compiler.cpp