glslang-zig/SPIRV
David Neto 8d63a3d35a Avoid read past end of operands vector for EOpFrexp
When emitting SPIR-V code for frexp, avoid access
beyond the end of the operands vector.  When constructing
the OpExtInst, construct a new arguments vector instead of
modifying the existing operands vector.  In the case of OpFrexp,
well need that last operand later on to generate the store.

Fixes https://github.com/KhronosGroup/glslang/issues/110

Change-Id: Ibc380fadf5e600ac491932e9ecef7afe2d72fd7f
2015-12-07 16:24:31 -05:00
..
CMakeLists.txt Remove include_directories from CMakeLists, to enforce relative includes 2015-11-16 18:05:18 +01:00
disassemble.cpp Remove unnecessary include path relative to root 2015-11-16 18:05:18 +01:00
disassemble.h Move to revision 31 of SPIR-V. 2015-08-06 22:55:01 -06:00
doc.cpp SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
doc.h SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
GLSL.std.450.h SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
GlslangToSpv.cpp Avoid read past end of operands vector for EOpFrexp 2015-12-07 16:24:31 -05:00
GlslangToSpv.h Updated command-line options, adding -o for saving binaries, -G for OpenGL SPIR-V validation, -v etc. 2015-07-12 19:28:10 -06:00
spirv.hpp SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
SpvBuilder.cpp SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
SpvBuilder.h SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
spvIR.h SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
SPVRemapper.cpp SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
SPVRemapper.h Move to revision 31 of SPIR-V. 2015-08-06 22:55:01 -06:00