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:
parent
85fb618f96
commit
8f7c1af046
@ -873,6 +873,7 @@ void Compiler::parse(const Instruction &instruction)
|
||||
case OpMemoryModel:
|
||||
case OpSourceExtension:
|
||||
case OpNop:
|
||||
case OpLine:
|
||||
break;
|
||||
|
||||
case OpSource:
|
||||
|
Loading…
Reference in New Issue
Block a user