glslang-zig/glslang/MachineIndependent
Daniel Koch 197082ca34 Fix build warnings on some platforms
Use an explicit cast from size_t to int to avoid errors like the following:
glslang\glslang\MachineIndependent\preprocessor\Pp.cpp(1053) : error C2220: warning treated as error - no 'object' file generated
glslang\glslang\MachineIndependent\preprocessor\Pp.cpp(1053) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data

affects Pp.cpp, hlslParseHelper.cpp.

Initialize local variable to get rid of warningsa about potentially
uninitialized variables:
glslang\hlsl\hlslparsehelper.cpp(3667) : error C2220: warning treated as error - no 'object' file generated
glslang\hlsl\hlslparsehelper.cpp(3667) : warning C4701: potentially uninitialized local variable 'builtIn' used

affects hlslParseHelper.cpp
2017-03-01 09:50:42 -05:00
..
preprocessor Fix build warnings on some platforms 2017-03-01 09:50:42 -05:00
Constant.cpp Front-ends: Non-functional: Rationalize vector and matrix swizzles. 2017-01-13 19:35:29 -07:00
gl_types.h Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
glslang.y Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
glslang_tab.cpp Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
glslang_tab.cpp.h Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp SPV: Implement new extensions GL_KHX_device_group and GL_KHX_multiview. 2017-02-27 01:20:51 -07:00
Initialize.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Intermediate.cpp Add basic HS/DS implementation. 2017-02-10 16:59:09 -07:00
intermOut.cpp Implement new revision of extension GL_AMD_shader_ballot 2017-01-19 12:09:51 +08:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Add reflection queries for thread local size and ssbo auto-binding 2017-02-22 09:40:28 -07:00
iomapper.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
limits.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
linkValidate.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
LiveTraverser.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
localintermediate.h Add reflection queries for thread local size and ssbo auto-binding 2017-02-22 09:40:28 -07:00
parseConst.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
ParseContextBase.cpp HLSL: Add tests and refine what decorations are passed through per stage/in/out. 2017-02-06 23:13:16 -07:00
ParseHelper.cpp GLSL: Fix #741: rationalize per-block vs. per-member offset checking. 2017-02-28 14:13:48 -07:00
ParseHelper.h HLSL: Add tests and refine what decorations are passed through per stage/in/out. 2017-02-06 23:13:16 -07:00
parseVersions.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
PoolAlloc.cpp Memory/constructor/warning clean-up. Addresses issue #705. 2017-02-02 14:55:02 -07:00
propagateNoContraction.cpp HLSL: Add EOpMatrixSwizzle, selectively decomposed to other ops, for issue #670. 2017-01-13 12:35:01 -07:00
propagateNoContraction.h Non-functional: Fix some comments English and brace formatting in recent merges. 2016-05-17 10:24:00 -06:00
reflection.cpp Add reflection queries for thread local size and ssbo auto-binding 2017-02-22 09:40:28 -07:00
reflection.h Add reflection queries for thread local size and ssbo auto-binding 2017-02-22 09:40:28 -07:00
RemoveTree.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
RemoveTree.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Scan.cpp Non-functional: Fix round of compiler warnings. 2017-01-13 20:08:54 -07:00
Scan.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
ScanContext.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
ShaderLang.cpp Add reflection queries for thread local size and ssbo auto-binding 2017-02-22 09:40:28 -07:00
SymbolTable.cpp WIP: HLSL: add structuredbuffer pass by reference in fn params 2017-02-26 11:13:42 -07:00
SymbolTable.h Add override where needed by clang++ 2017-02-21 14:41:15 -05:00
Versions.cpp PP: Address #737: accept 'h'/'H' floating-point suffix more broadly. 2017-02-28 12:58:11 -07:00
Versions.h SPV: Implement new extensions GL_KHX_device_group and GL_KHX_multiview. 2017-02-27 01:20:51 -07:00