mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-11 06:28:09 +02:00
nvc0: don't set NEW_IDXBUF in nvc0_switch_pipe_context if none is bound
This commit is contained in:
parent
8a933e36d1
commit
91fb5e0394
1 changed files with 2 additions and 0 deletions
|
|
@ -463,6 +463,8 @@ nvc0_switch_pipe_context(struct nvc0_context *ctx_to)
|
|||
|
||||
if (!ctx_to->vertex)
|
||||
ctx_to->dirty &= ~(NVC0_NEW_VERTEX | NVC0_NEW_ARRAYS);
|
||||
if (!ctx_to->idxbuf.buffer)
|
||||
ctx_to->dirty &= ~NVC0_NEW_IDXBUF;
|
||||
|
||||
if (!ctx_to->vertprog)
|
||||
ctx_to->dirty &= ~NVC0_NEW_VERTPROG;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue