[Mesa-dev] [PATCH 1/3] st/mesa: check state->mesa in early return check in st_validate_state()

2016-01-06 Thread Brian Paul
We were checking the dirty->st flags but not the dirty->mesa flags. When we took the early return, we didn't clear the dirty->mesa flags so the next time we called st_validate_state() we'd often flush the glBitmap cache. And since st_validate_state() is called from st_Bitmap(), it meant we

Re: [Mesa-dev] [PATCH 1/3] st/mesa: check state->mesa in early return check in st_validate_state()

2016-01-06 Thread Jose Fonseca
On 06/01/16 16:50, Brian Paul wrote: We were checking the dirty->st flags but not the dirty->mesa flags. When we took the early return, we didn't clear the dirty->mesa flags so the next time we called st_validate_state() we'd often flush the glBitmap cache. And since st_validate_state() is