Re: [Mesa-dev] [PATCH 02/25] mesa: don't always set _NEW_PROGRAM when linking

2017-01-09 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Jan 9, 2017 at 6:13 AM, Timothy Arceri wrote: > We only need to set it when linking was successful and the program > being linked is currently active. > > The programs_in_use mask is just used as a flag for now but in > a following patch we will use it to

[Mesa-dev] [PATCH 02/25] mesa: don't always set _NEW_PROGRAM when linking

2017-01-08 Thread Timothy Arceri
We only need to set it when linking was successful and the program being linked is currently active. The programs_in_use mask is just used as a flag for now but in a following patch we will use it to update the CurrentProgram array. V2: make sure to flush vertices before linking (suggested by Mar