Home
last modified time | relevance | path

Searched refs:ctx_to (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_state_validate.c299 nv50_switch_pipe_context(struct nv50_context *ctx_to) in nv50_switch_pipe_context() argument
301 struct nv50_context *ctx_from = ctx_to->screen->cur_ctx; in nv50_switch_pipe_context()
304 ctx_to->state = ctx_from->state; in nv50_switch_pipe_context()
306 ctx_to->dirty = ~0; in nv50_switch_pipe_context()
308 if (!ctx_to->vertex) in nv50_switch_pipe_context()
309 ctx_to->dirty &= ~(NV50_NEW_VERTEX | NV50_NEW_ARRAYS); in nv50_switch_pipe_context()
311 if (!ctx_to->vertprog) in nv50_switch_pipe_context()
312 ctx_to->dirty &= ~NV50_NEW_VERTPROG; in nv50_switch_pipe_context()
313 if (!ctx_to->fragprog) in nv50_switch_pipe_context()
314 ctx_to->dirty &= ~NV50_NEW_FRAGPROG; in nv50_switch_pipe_context()
[all …]
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state_validate.c449 nvc0_switch_pipe_context(struct nvc0_context *ctx_to) in nvc0_switch_pipe_context() argument
451 struct nvc0_context *ctx_from = ctx_to->screen->cur_ctx; in nvc0_switch_pipe_context()
455 ctx_to->state = ctx_from->state; in nvc0_switch_pipe_context()
457 ctx_to->dirty = ~0; in nvc0_switch_pipe_context()
460 ctx_to->samplers_dirty[s] = ~0; in nvc0_switch_pipe_context()
461 ctx_to->textures_dirty[s] = ~0; in nvc0_switch_pipe_context()
464 if (!ctx_to->vertex) in nvc0_switch_pipe_context()
465 ctx_to->dirty &= ~(NVC0_NEW_VERTEX | NVC0_NEW_ARRAYS); in nvc0_switch_pipe_context()
466 if (!ctx_to->idxbuf.buffer) in nvc0_switch_pipe_context()
467 ctx_to->dirty &= ~NVC0_NEW_IDXBUF; in nvc0_switch_pipe_context()
[all …]