commit | d7f27e2e76eac9bc2ee0fa36f52542fdcb9563dd | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Fri Dec 10 15:48:15 2010 -0800 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Fri Dec 10 17:52:35 2010 -0800 |
tree | 2c26a70967743c45b871cfefa65382f6a375021f | |
parent | ec53010c4d02e11171d3c782a41b70cad76788e8 [diff] |
glsl: Inherrit type of declared variable from initializer after processing assignment do_assignment may apply implicit conversions to coerce the base type of initializer to the base type of the variable being declared. Fixes piglit test glsl-implicit-conversion-02 (bugzilla #32287). This probably also fixes bugzilla #32273. NOTE: This is a candidate for the 7.9 branch and the 7.10 branch.