glslang-zig/SPIRV
LoopDawg 8004d36528 Remapper: make remapper robust against non-exiting error handlers
Remapper errors are generally fatal: there has been some unexpected situation while
parsing the SPV binary, and there is no reasonable way to carry on.  The
errorHandler() function is called in this case, which by default exits, but
it is possible to submit a handler which does not.  In that case the remapper would
carry on in a bad state.

This change ensures a graceful termination of the remap() function.

While a try {} catch {} construct would be the ideal and safe way to do this,
that's off limits for certain environments, so this tries to do the same thing
with explicit code, to catch all the bailout paths.
2017-09-20 15:19:43 -06:00
..
bitutils.h Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
CMakeLists.txt Merge pull request #969 from d3x0r/patch-1 2017-07-04 11:00:42 -06:00
disassemble.cpp Implement NVX_multiview_per_view_attributes 2017-02-14 15:04:33 -08:00
disassemble.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
doc.cpp Implement the extension GL_AMD_shader_fragment_mask 2017-09-09 22:05:24 +08:00
doc.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
GLSL.ext.AMD.h Implement the extension GL_AMD_shader_fragment_mask 2017-09-09 22:05:24 +08:00
GLSL.ext.KHR.h SPV: 1st pass implementation of SPV_EXT_shader_viewport_index_layer. 2017-08-25 13:04:39 -06:00
GLSL.ext.NV.h SPV: Update SPV header to official Rev. 10 of 1.0, and fix the consequences of doing so. 2017-02-27 01:50:28 -07:00
GLSL.std.450.h SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00
GlslangToSpv.cpp HLSL: allow mixed user & builtin members in hull shader output structure 2017-09-14 16:50:37 -06:00
GlslangToSpv.h SPV: Add OpSource shader source code and file name. 2017-05-31 17:14:15 -06:00
hex_float.h Build: Attempt better support for VS 2012. 2017-08-25 21:35:37 -06:00
InReadableOrder.cpp Use unordered_set in ReadableOrderTraverser. 2017-05-11 20:48:34 -04:00
Logger.cpp [VS2010] Remove use of ranged-for loops 2016-05-17 01:20:30 +02:00
Logger.h [VS2010] Remove use of "= default" and "= delete" 2016-05-17 01:20:25 +02:00
spirv.hpp SPV: Implement extension SPV_EXT_shader_stencil_export 2017-08-24 06:26:15 +08:00
SpvBuilder.cpp SPV reflection: Add OpModuleProcessed for compile options. 2017-08-25 11:48:02 -06:00
SpvBuilder.h SPV reflection: Add OpModuleProcessed for compile options. 2017-08-25 11:48:02 -06:00
spvIR.h Linux build warning fix 2017-08-31 18:09:58 -06:00
SPVRemapper.cpp Remapper: make remapper robust against non-exiting error handlers 2017-09-20 15:19:43 -06:00
SPVRemapper.h Remapper: make remapper robust against non-exiting error handlers 2017-09-20 15:19:43 -06:00