]> git.tdb.fi Git - libs/gl.git/commit
Leave no-op constructors as they are
authorMikko Rasa <tdb@tdb.fi>
Tue, 6 Apr 2021 09:48:44 +0000 (12:48 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 6 Apr 2021 09:57:39 +0000 (12:57 +0300)
commitfe7996a5985e8e7064004d2f42758d89ebf54b57
treedb9b656d8065f50e82c7d30f4b21bec7d4c40c2c
parent631872e13c2670f7dece44512ed55af50b77f399
Leave no-op constructors as they are

In particular, don't break a matrix down into columns and construct
it again.  These could just be removed from the AST entirely, but the
expression resolver currently does not do node replacement and it's
easier to just skip this in the backend.
source/glsl/resolve.cpp
tests/glsl/no_op_conversion.glsl [new file with mode: 0644]