Miro Knejp 28f9b1c28d SPIR-V: Return undefined values from implicit returns instead of dummy
Previously if a non-void function implictly returned, a dummy variable
was created as return value. Now instead it returns the result of the
OpUndef instruction. This better conveys the presence of undefined
behavior to SPIR-V consuming tools (and humans).

It also saves one ID per occurrence...
2015-08-11 03:26:46 +02:00
..
2015-08-06 22:55:01 -06:00
2015-08-06 22:55:01 -06:00
2015-08-06 22:55:01 -06:00
2015-08-06 22:55:01 -06:00
2015-08-06 22:55:01 -06:00
2015-08-06 22:59:24 -06:00
2015-08-06 22:59:24 -06:00
2015-08-06 22:55:01 -06:00
2015-08-06 22:55:01 -06:00
2015-08-06 22:55:01 -06:00