nvc0: don't set NEW_IDXBUF in nvc0_switch_pipe_context if none is bound

This commit is contained in:
Christoph Bumiller 2012-05-22 12:41:17 +02:00
parent 8a933e36d1
commit 91fb5e0394

View file

@ -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;