Do not try to pump OpLine instructions into a block

When the SPIR-V includes metadata for debugging
(aka OpLine instructions) the CompilerError at
line 1588 was eventually triggered.
This commit is contained in:
Robert Konrad 2016-08-10 02:43:51 +02:00
parent 85fb618f96
commit 8f7c1af046

View File

@ -873,6 +873,7 @@ void Compiler::parse(const Instruction &instruction)
case OpMemoryModel:
case OpSourceExtension:
case OpNop:
case OpLine:
break;
case OpSource: