glslang/StandAlone
David Neto 8c3d5b4b6c SPIR-V: Aggressively prune unreachable merge, continue target
More aggressively prune unreachable code as follows.
When no control flow edges reach a merge block or continue target:
- delete their contents so that:
  - a merge block becomes OpLabel, then OpUnreachable
  - a continue target becomes OpLabel, then an OpBranch back to the
    loop header
- any basic block which is dominated by such a merge block or continue
  target is removed as well.
- decorations targeting the removed instructions are removed.

Enables the SPIR-V builder post-processing step the GLSLANG_WEB case.
2019-10-29 15:33:54 -04:00
..
CMakeLists.txt Fix the exports of glslang-default-resource-limits (#1942) 2019-10-21 22:31:44 -06:00
DirStackFileIncluder.h Build: Fix build warnings. 2017-09-11 20:39:54 -06:00
ResourceLimits.cpp Web: Selectively remove a few key features, using #ifndef GLSLANG_WEB 2019-08-20 23:21:55 -06:00
ResourceLimits.h Switch to relative include path for ResourceLimits 2019-02-02 16:18:49 +02:00
spirv-remap.cpp Remove __DATE__ and __TIME__ usage 2019-06-25 13:20:42 -04:00
StandAlone.cpp SPIR-V: Aggressively prune unreachable merge, continue target 2019-10-29 15:33:54 -04:00
Worklist.h This refactor the StandAlone and WorkList files in order to use more 2017-04-04 22:29:59 +02:00