Open GoogleCodeExporter opened 9 years ago
Project: angle/angle
Branch : master
Author : Olli Etuaho <oetuaho@nvidia.com>
Commit : 47fd36a70cf5989e2e602b61ca56962913f06d04
Code-Review 0 : Nicolas Capens, Olli Etuaho
Code-Review +1: Zhenyao Mo
Code-Review +2: Jamie Madill
Verified 0 : Jamie Madill, Nicolas Capens, Zhenyao Mo
Verified +1: Olli Etuaho
Commit Queue : Chumped
Change-Id : Idb2de927d872e46210d71cf6de06a6f8c1fc5da1
Reviewed-at : https://chromium-review.googlesource.com/260803
Move some validation from IntermBinary::promote to ParseContext
This makes the role of promote() in the system clearer and helps to make
the code more understandable, since more of the checks are in the same
logical place.
BUG=angleproject:952
TEST=angle_unittests, WebGL conformance tests
src/compiler/translator/IntermNode.cpp
src/compiler/translator/ParseContext.cpp
src/compiler/translator/ParseContext.h
Original comment by bugdro...@chromium.org
on 20 Mar 2015 at 6:11
Original issue reported on code.google.com by
oetu...@nvidia.com
on 19 Mar 2015 at 12:21