Move promote methods to TIntermediate class
authorsteve-lunarg <steve_gh@khasekhemwy.net>
Wed, 19 Oct 2016 18:57:22 +0000 (12:57 -0600)
committersteve-lunarg <steve_gh@khasekhemwy.net>
Wed, 19 Oct 2016 18:57:22 +0000 (12:57 -0600)
commit6cb1637f37d3907dc9e7eacb71065e3bacabff55
treef337a4cae92caf01c7e4993bc0e454cdb16b4763
parente5921f1309230cb7dea5d9d53bd3bc38c07da037
Move promote methods to TIntermediate class

A need arose to use capabilities from TIntermediate during
node promotion.  These methods have been moved from virtual
methods on the TIntermUnary and TIntermBinary nodes to methods
on TIntermediate, so it is easy for them construct new nodes
and so on.

This is done as a separate commit to verify that no test results
are changed as a result.
glslang/Include/intermediate.h
glslang/MachineIndependent/Intermediate.cpp
glslang/MachineIndependent/localintermediate.h