steve-lunarg e5921f1309 HLSL: Fix unary and binary operator type conversion issues
This fixes defects as follows:

1. handleLvalue could be called on a non-L-value, and it shouldn't be.

2. HLSL allows unary negation on non-bool values.  TUnaryOperator::promote
   can now promote other types (e.g, int, float) to bool for this op.

3. HLSL allows binary logical operations (&&, ||) on arbitrary types, similar
   (2).

4. HLSL allows mod operation on arbitrary types, which will be promoted.
   E.g, int % float -> float % float.
2016-10-18 16:56:37 -06:00
..
2016-03-03 12:12:07 -05:00
2016-07-19 15:13:47 -06:00
2014-04-14 16:14:30 +00:00
2015-06-26 10:48:26 -06:00
2013-03-04 23:50:08 +00:00
2015-06-26 10:48:26 -06:00
2016-06-19 11:50:34 -06:00
2013-11-12 03:31:24 +00:00
2013-11-12 03:31:24 +00:00
2013-02-08 18:56:56 +00:00