commit | 364c21c8c05d01690acc6b5b38788895487aa9dd | [log] [tgz] |
---|---|---|
author | Mark Adams <marka@nvidia.com> | Wed Jan 06 13:41:02 2016 -0500 |
committer | Mark Adams <marka@nvidia.com> | Wed Jan 06 13:41:02 2016 -0500 |
tree | 2748a34cca05c080d98651ade78b419a26a20c9c | |
parent | e23c9849c2c7b0b918b4871685bab65dd3457d74 [diff] [blame] |
Fix several build warnings/error encountered with VS2013 This also fixes the newlines for spirv.hpp to be consistent with the rest of the files.
diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index 3915b66..969a6d7 100755 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp
@@ -1365,7 +1365,7 @@ case OpImageQuerySize: case OpImageQuerySizeLod: { - int numComponents; + int numComponents = 0; switch (getTypeDimensionality(getImageType(parameters.sampler))) { case Dim1D: case DimBuffer: