]> git.tdb.fi Git - libs/gl.git/commit
Add basic validation to the GLSL compiler
authorMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 10:50:52 +0000 (12:50 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 15:32:04 +0000 (17:32 +0200)
commit1f09306906fbf57c05dccb27189264706cc64cfa
tree7d0d5e9bdae80d3e3ea25dca04f558f12d07be1c
parentb67e8c366cb53505c55a83cd8dc46c6f5da05d93
Add basic validation to the GLSL compiler

Currently the only thing validated is multiple definitions.
source/glsl/compiler.cpp
source/glsl/compiler.h
source/glsl/glsl_error.h
source/glsl/syntax.h
source/glsl/validate.cpp [new file with mode: 0644]
source/glsl/validate.h [new file with mode: 0644]