SPIRV-Tools/source/util
Steven Perron b3daa93b46 Change merge return pass to handle structured cfg.
We are seeing shaders that have multiple returns in a functions.  These
functions must get inlined for legalization purposes; however, the
inliner does not know how to inline functions that have multiple
returns.

The solution we will go with it to improve the merge return pass to
handle structured control flow.

Note that the merge return pass will assume the cfg has been cleanedup
by dead branch elimination.

Fixes #857.
2018-03-19 13:49:04 -04:00
..
bit_stream.cpp Re-format files in source, source/opt, source/util, source/val and tools. 2017-11-08 14:03:08 -05:00
bit_stream.h Re-format files in source, source/opt, source/util, source/val and tools. 2017-11-08 14:03:08 -05:00
bitutils.h Add barrier instructions validation pass 2018-02-05 13:14:55 -05:00
hex_float.h Merge arithmetic with non-trivial constant operands 2018-02-27 13:02:13 -05:00
huffman_codec.h Re-format files in source, source/opt, source/util, source/val and tools. 2017-11-08 14:03:08 -05:00
ilist_node.h Re-format files in source, source/opt, source/util, source/val and tools. 2017-11-08 14:03:08 -05:00
ilist.h Change merge return pass to handle structured cfg. 2018-03-19 13:49:04 -04:00
move_to_front.h Fixed harmless uninit var warning 2018-01-31 17:49:01 -05:00
parse_number.cpp Re-format source tree - NFC. 2017-11-27 14:31:49 -05:00
parse_number.h Re-format files in source, source/opt, source/util, source/val and tools. 2017-11-08 14:03:08 -05:00
string_utils.cpp Added option --preserve-numeric-ids to tools/spirv-as 2017-04-13 14:13:33 -04:00
string_utils.h Validator checks if operands require extension 2017-03-14 13:39:43 -04:00