switch_context
bool switch_context = gpu->exec_state != exec_state;
if (need_flush || switch_context) {
if (switch_context)
if (switch_context) {
ret = switch_context(request);