]> git.tdb.fi Git - libs/gl.git/commit
Add a unit test framework and some tests for the GLSL compiler
authorMikko Rasa <tdb@tdb.fi>
Wed, 3 Mar 2021 23:44:59 +0000 (01:44 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 11:46:15 +0000 (13:46 +0200)
commit6ba314198dce795408690456fa1f0ef559aa1532
tree29daa91beca6bd42ce0d606d00b487fb914cb45c
parent1cd0ea7f79b2b0dedd8a2a6622e5d2e8b2ea2512
Add a unit test framework and some tests for the GLSL compiler

Some of the tests fail due to bugs in the compiler.
24 files changed:
.gitignore
tests/Build [new file with mode: 0644]
tests/glsl/constant_condition_removal.glsl [new file with mode: 0644]
tests/glsl/expression_inline.glsl [new file with mode: 0644]
tests/glsl/expression_inline_iteration.glsl [new file with mode: 0644]
tests/glsl/expression_inline_precedence.glsl [new file with mode: 0644]
tests/glsl/function_inline.glsl [new file with mode: 0644]
tests/glsl/function_inline_in_condition.glsl [new file with mode: 0644]
tests/glsl/function_inline_in_iteration.glsl [new file with mode: 0644]
tests/glsl/function_inline_name_conflict.glsl [new file with mode: 0644]
tests/glsl/function_inline_reorder.glsl [new file with mode: 0644]
tests/glsl/geometry_interface_block.glsl [new file with mode: 0644]
tests/glsl/geometry_passthrough.glsl [new file with mode: 0644]
tests/glsl/glslcompiler.cpp [new file with mode: 0644]
tests/glsl/interface_block.glsl [new file with mode: 0644]
tests/glsl/member_assignment.glsl [new file with mode: 0644]
tests/glsl/multiline_function_inline.glsl [new file with mode: 0644]
tests/glsl/multiple_emitvertex.glsl [new file with mode: 0644]
tests/glsl/named_interface_block.glsl [new file with mode: 0644]
tests/glsl/passthrough.glsl [new file with mode: 0644]
tests/glsl/redundant_geometry_gl_position.glsl [new file with mode: 0644]
tests/glsl/redundant_gl_position.glsl [new file with mode: 0644]
tests/glsl/unused_function_removal.glsl [new file with mode: 0644]
tests/glsl/unused_variable_removal.glsl [new file with mode: 0644]