glslang-zig/glslang
Neil Henning 81a63f1de0 Add conversion folding when the source is a constant.
This change adds unary conversion folding when the source is a constant.
This fixes an ISV issue whereby:

```
const float16_t f = float16_t(42.0);
```

Wouldn't compile because the conversion operator would always produce an
EvqTemporary when it could have produced an EvqConst.

I've also added a test case that proves out that all basic-type to
basic-type conversions work.
2018-11-26 12:45:33 +00:00
..
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Include Bump minor version. 2018-11-16 10:02:18 -07:00
MachineIndependent Add conversion folding when the source is a constant. 2018-11-26 12:45:33 +00:00
OSDependent Implement OS_DumpMemoryCounters for Linux 2017-11-13 22:22:42 -07:00
Public Bump minor version. 2018-11-16 10:02:18 -07:00
CMakeLists.txt Rename PCH macro to glslang_pch (to avoid name collision) and update to latest spirv-tools 2018-11-07 09:35:31 -06:00
updateGrammar Bison: Non-functional: Move to revision 3.0.4. 2016-05-04 12:54:56 -06:00