/* TODO */
break;
- case SpvOpLine:
- break; /* Ignored for now */
-
case SpvOpExecutionMode:
case SpvOpDecorationGroup:
case SpvOpDecorate:
case SpvOpString:
case SpvOpName:
case SpvOpMemberName:
- case SpvOpLine:
case SpvOpDecorationGroup:
case SpvOpDecorate:
case SpvOpMemberDecorate:
assert(!"Invalid opcode types and variables section");
break;
+ case SpvOpLine:
+ break; /* Ignored for now */
+
case SpvOpTypeVoid:
case SpvOpTypeBool:
case SpvOpTypeInt:
const uint32_t *w, unsigned count)
{
switch (opcode) {
+ case SpvOpLine:
+ break; /* Ignored for now */
+
case SpvOpLabel: {
struct vtn_block *block = vtn_value(b, w[1], vtn_value_type_block)->block;
assert(block->block == nir_cursor_current_block(b->nb.cursor));