glslang-zig/glslang/MachineIndependent
AnyOldName3 fb23503f12 -Wmissing-field-initializers fixes
Like with the last few PRs from me, it fixes a warning that's commonly enabled in downstream projects that might want to consume glslang via FetchContent or equivalent.

It doesn't actually enable the warning, but that might be desirable.

I think I found a bug in the Spv.FromFile.cpp tests that would have been prevented had this warning been enabled all along.
I had to guess the value for the missing field, so went for the most common one in the list.
The only test case that used a different value before had an RWTexture1D, so if baseImageBinding is meaning the same kind of image as image load store in OpenGL, it would make sense that that would be the only one to need a non-zero value for the binding.

I'm a little concerned that the test wasn't previously failing with the incorrectly-assigned fields as it implies they don't make any difference, so the test might be too permissive.
2024-02-19 12:20:43 -05:00
..
preprocessor PP: Report an error when a # is not the first thing on a line 2023-12-07 19:29:48 -05:00
attribute.cpp Fix 'maximally_reconverges' token to match the GLSL spec 2024-01-25 19:30:47 -05:00
attribute.h Fix 'maximally_reconverges' token to match the GLSL spec 2024-01-25 19:30:47 -05:00
Constant.cpp Fixed check uint64 before set bool 2023-12-14 16:27:44 -05:00
gl_types.h 1. fix macro definition value for unsinged-int64-vector, according to kronos spec at https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gpu_shader_int64.txt; 2. fix typo in reflection 2021-03-15 16:54:31 +08:00
glslang.y -Wmissing-field-initializers fixes 2024-02-19 12:20:43 -05:00
glslang_tab.cpp -Wmissing-field-initializers fixes 2024-02-19 12:20:43 -05:00
glslang_tab.cpp.h Add --no-link option 2023-09-18 17:31:05 -04:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp NV_shader_atomic_fp16_vector 2024-02-14 18:55:55 -05:00
Initialize.h Clean the implementation of GL_EXT_texture_shadow_lod. 2023-10-02 15:10:11 -04:00
Intermediate.cpp Support GL_EXT_draw_instanced extension. 2023-12-12 18:22:04 -05:00
intermOut.cpp Add GL_KHR_shader_subgroup_rotate support 2024-02-06 11:04:16 -08:00
IntermTraverse.cpp 8. io mapping refine & qualifier member check & resolver expand (#2396) 2020-11-03 13:34:19 -07:00
iomapper.cpp -Wmissing-field-initializers fixes 2024-02-19 12:20:43 -05:00
iomapper.h Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
limits.cpp Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
linkValidate.cpp Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
LiveTraverser.h also search global variables assignment for live variables 2020-07-20 18:43:00 -04:00
localintermediate.h Fix build issue. 2024-01-30 16:28:38 -05:00
parseConst.cpp Use nullptr where possible instead of NULL or 0 2022-11-30 09:33:28 -07:00
ParseContextBase.cpp Implement relaxed rule for opaque struct members 2023-11-28 19:19:02 -05:00
ParseHelper.cpp -Wmissing-field-initializers fixes 2024-02-19 12:20:43 -05:00
ParseHelper.h Add BUILD_WERROR option 2023-11-29 17:34:53 -05:00
parseVersions.h Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
pch.h Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
PoolAlloc.cpp Fix ODR violations 2023-08-24 12:48:35 -06:00
propagateNoContraction.cpp Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
propagateNoContraction.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
reflection.cpp Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
reflection.h Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
RemoveTree.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
RemoveTree.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
Scan.cpp support GL_EXT_texture_array extention. 2023-12-12 14:31:34 -05:00
Scan.h SPV: Fix #1575, fix #1593: Support HLSL #line 2018-12-07 17:36:33 -07:00
ScanContext.h GL_EXT_buffer_reference 2019-01-07 12:36:13 -06:00
ShaderLang.cpp Remove OGLCompiler and HLSL stub libraries from build 2023-11-29 08:20:27 -05:00
span.h Use C++ containers for builtin versioning 2023-12-22 14:19:22 -05:00
SpirvIntrinsics.cpp Use std::variant to represent TSpirvTypeParameter 2023-09-11 21:12:35 -04:00
SymbolTable.cpp Add GL_EXT_texture_shadow_lod support 2023-09-05 19:00:10 -04:00
SymbolTable.h Clean the implementation of GL_EXT_texture_shadow_lod. 2023-10-02 15:10:11 -04:00
Versions.cpp NV_shader_atomic_fp16_vector 2024-02-14 18:55:55 -05:00
Versions.h NV_shader_atomic_fp16_vector 2024-02-14 18:55:55 -05:00