Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spirv_cross.cpp')
-rw-r--r--spirv_cross.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_cross.cpp b/spirv_cross.cpp
index 3b8bc87b..77bb0819 100644
--- a/spirv_cross.cpp
+++ b/spirv_cross.cpp
@@ -725,7 +725,7 @@ bool Compiler::InterfaceVariableAccessHandler::handle(Op opcode, const uint32_t
case OpExtInst:
{
- if (length < 5)
+ if (length < 3)
return false;
auto &extension_set = compiler.get<SPIRExtension>(args[2]);
switch (extension_set.ext)