break;
default:
- pvr_finishme("Unsupported sub-command type %d", sub_cmd->type);
- break;
+ unreachable("Unsupported sub-command type");
}
}
break;
default:
- barriers = 0;
- pvr_finishme("Unsupported sub-command type %d", type);
- break;
+ unreachable("Unsupported sub-command type");
}
for (uint32_t i = 0; i < ARRAY_SIZE(state->barriers_needed); i++)
break;
default:
- pvr_finishme("Unsupported sub-command type %d", sub_cmd->type);
- break;
+ unreachable("Unsupported sub-command type");
}
state->current_sub_cmd = NULL;
break;
default:
- pvr_finishme("Unsupported sub-command type %d", type);
- break;
+ unreachable("Unsupported sub-command type");
}
list_addtail(&sub_cmd->link, &cmd_buffer->sub_cmds);
break;
default:
- mesa_loge("Unsupported sub-command type %d", primary_sub_cmd->type);
- break;
+ unreachable("Unsupported sub-command type");
}
return VK_SUCCESS;