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[NV50_SHADER_STAGE_VERTEX] = in nv50_switch_pipe_context()464 ctx_to->constbuf_dirty[NV50_SHADER_STAGE_GEOMETRY] = in nv50_switch_pipe_context()[all …]
869 nvc0_switch_pipe_context(struct nvc0_context *ctx_to) in nvc0_switch_pipe_context() argument871 struct nvc0_context *ctx_from = ctx_to->screen->cur_ctx; in nvc0_switch_pipe_context()875 ctx_to->state = ctx_from->state; in nvc0_switch_pipe_context()877 ctx_to->state = ctx_to->screen->save_state; in nvc0_switch_pipe_context()879 ctx_to->dirty_3d = ~0; in nvc0_switch_pipe_context()880 ctx_to->dirty_cp = ~0; in nvc0_switch_pipe_context()881 ctx_to->viewports_dirty = ~0; in nvc0_switch_pipe_context()882 ctx_to->scissors_dirty = ~0; in nvc0_switch_pipe_context()885 ctx_to->samplers_dirty[s] = ~0; in nvc0_switch_pipe_context()886 ctx_to->textures_dirty[s] = ~0; in nvc0_switch_pipe_context()[all …]