glslang-zig/glslang
Chris Djali 8ca24e7cf1
Remove implicit fallthrough (#3518)
This is intended so that downstream projects consuming glslang with FetchContent or similar means can use `-Wimplicit-fallthrough` without getting warning spam.

I've used my best judgement to determine whether the implicit fallthrough was desired, or was simply unreachable code.
`std::unreachable` is unavailable until C++23, but I saw places where `default: assert(0);` was used, so copied that.
There were a few places where some code might actually have been reachable and intended to return a value that represented an error, so someone should double check that kind of thing.
2024-02-19 17:45:45 -05:00
..
CInterface Use custom callbacks if they are available in 'i->callbacks' 2023-05-09 10:38:08 -06:00
ExtensionHeaders Revert port of GL_EXT_shader_realtime_clock to GL_EXT_spirv_intrinsics 2021-11-11 23:39:47 -07:00
GenericCodeGen Remove debugOptions from internal classes 2023-10-25 20:13:20 -04:00
HLSL fix: Support SV_ViewID keywords for hlsl. 2023-11-22 17:04:38 -05:00
Include Add a string 'StartsWith' helper function 2024-02-14 18:55:55 -05:00
MachineIndependent Remove implicit fallthrough (#3518) 2024-02-19 17:45:45 -05:00
OSDependent Allow external control of whether Glslang will be tested or installed 2024-02-13 15:35:02 -08:00
Public Remove debugOptions from internal classes 2023-10-25 20:13:20 -04:00
ResourceLimits Remove various warning suppression pragmas 2023-12-01 11:59:54 -05:00
CMakeLists.txt Allow external control of whether Glslang will be tested or installed 2024-02-13 15:35:02 -08:00
updateGrammar Remove glslang.m4 2023-07-28 15:14:48 -06:00