Searched refs:ctx_to (Results 1 – 2 of 2) sorted by relevance
449 nv50_switch_pipe_context(struct nv50_context *ctx_to) in nv50_switch_pipe_context() argument451 struct nv50_context *ctx_from = ctx_to->screen->cur_ctx; in nv50_switch_pipe_context()454 ctx_to->state = ctx_from->state; in nv50_switch_pipe_context()456 ctx_to->state = ctx_to->screen->save_state; in nv50_switch_pipe_context()458 ctx_to->dirty_3d = ~0; in nv50_switch_pipe_context()459 ctx_to->dirty_cp = ~0; in nv50_switch_pipe_context()460 ctx_to->viewports_dirty = ~0; in nv50_switch_pipe_context()461 ctx_to->scissors_dirty = ~0; in nv50_switch_pipe_context()463 ctx_to->constbuf_dirty[0] = in nv50_switch_pipe_context()464 ctx_to->constbuf_dirty[1] = in nv50_switch_pipe_context()[all …]
794 nvc0_switch_pipe_context(struct nvc0_context *ctx_to) in nvc0_switch_pipe_context() argument796 struct nvc0_context *ctx_from = ctx_to->screen->cur_ctx; in nvc0_switch_pipe_context()800 ctx_to->state = ctx_from->state; in nvc0_switch_pipe_context()802 ctx_to->state = ctx_to->screen->save_state; in nvc0_switch_pipe_context()804 ctx_to->dirty_3d = ~0; in nvc0_switch_pipe_context()805 ctx_to->dirty_cp = ~0; in nvc0_switch_pipe_context()806 ctx_to->viewports_dirty = ~0; in nvc0_switch_pipe_context()807 ctx_to->scissors_dirty = ~0; in nvc0_switch_pipe_context()810 ctx_to->samplers_dirty[s] = ~0; in nvc0_switch_pipe_context()811 ctx_to->textures_dirty[s] = ~0; in nvc0_switch_pipe_context()[all …]