glslang-zig/glslang
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
..
GenericCodeGen Whitespace: Nonfunctional: fix inconsistent white space, esp. no tabs. 2016-08-05 17:34:34 -06:00
Include HLSL: Fix unary and binary operator type conversion issues 2016-10-18 16:56:37 -06:00
MachineIndependent HLSL: Fix unary and binary operator type conversion issues 2016-10-18 16:56:37 -06:00
OSDependent Use a recursive mutex. 2016-10-15 15:19:59 -07:00
Public HLSL: phase 3c: add option to use Unknown storage format 2016-10-14 18:50:37 -06:00
CMakeLists.txt HLSL: Add location offsets per resource type 2016-09-20 20:31:27 -06:00
updateGrammar Bison: Non-functional: Move to revision 3.0.4. 2016-05-04 12:54:56 -06:00