glslang-zig/hlsl
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
..
CMakeLists.txt HLSL: implement numthreads for compute shaders 2016-10-31 09:28:17 -06:00
hlslAttributes.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
hlslAttributes.h Add basic HS/DS implementation. 2017-02-10 16:59:09 -07:00
hlslGrammar.cpp WIP: HLSL: add structuredbuffer pass by reference in fn params 2017-02-26 11:13:42 -07:00
hlslGrammar.h HLSL: implement 4 (of 6) structuredbuffer types 2017-02-21 15:51:49 -07:00
hlslOpMap.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
hlslOpMap.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
hlslParseables.cpp HLSL: implement 4 (of 6) structuredbuffer types 2017-02-21 15:51:49 -07:00
hlslParseables.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
hlslParseHelper.cpp Fix build warnings on some platforms 2017-03-01 09:50:42 -05:00
hlslParseHelper.h WIP: HLSL: add structuredbuffer pass by reference in fn params 2017-02-26 11:13:42 -07:00
hlslScanContext.cpp HLSL: implement 4 (of 6) structuredbuffer types 2017-02-21 15:51:49 -07:00
hlslScanContext.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
hlslTokens.h HLSL: implement 4 (of 6) structuredbuffer types 2017-02-21 15:51:49 -07:00
hlslTokenStream.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
hlslTokenStream.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00