]> git.tdb.fi Git - libs/gl.git/commit
Assign a result type to all expressions
authorMikko Rasa <tdb@tdb.fi>
Fri, 5 Mar 2021 22:46:43 +0000 (00:46 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 5 Mar 2021 23:01:38 +0000 (01:01 +0200)
commit50ab5ca2babc8d9592903da6072a13b381ed6656
tree1f5d90f3efb5252a6af5714171bc870d276c9203
parente97feb2fdd27af970412eea6a03cc7270032a80b
Assign a result type to all expressions

This requires some additional work for function overloads and swizzles.
14 files changed:
source/glsl/compiler.cpp
source/glsl/debug.cpp
source/glsl/debug.h
source/glsl/generate.cpp
source/glsl/generate.h
source/glsl/optimize.cpp
source/glsl/optimize.h
source/glsl/syntax.cpp
source/glsl/syntax.h
source/glsl/validate.cpp
source/glsl/validate.h
tests/glsl/binary_operators.glsl [new file with mode: 0644]
tests/glsl/invalid_expressions.glsl [new file with mode: 0644]
tests/glsl/unary_operators.glsl [new file with mode: 0644]