]> git.tdb.fi Git - libs/gl.git/commit
Make constant id range configurable and avoid duplicates
authorMikko Rasa <tdb@tdb.fi>
Thu, 1 Apr 2021 21:26:37 +0000 (00:26 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 1 Apr 2021 21:26:37 +0000 (00:26 +0300)
commitc1b42fd479c5ca4cbab258ee0fa5c7cac319f928
tree30d21ad8bc809c5ae06b5a52a3228c1a068774c0
parentd9d7ab44d5f88c4537906e77c49db06d6bdc099c
Make constant id range configurable and avoid duplicates

GlslangValidator apparently only allows IDs up to 2047.  I've yet to find
out if there's a limit in SPIR-V itself.
source/glsl/compiler.cpp
source/glsl/features.cpp
source/glsl/features.h
source/glsl/generate.cpp
source/glsl/generate.h