Re: [Mesa-dev] [PATCH 0/7] RadeonSI: Unbind shaders properly

2015-10-23 Thread Marek Olšák
On Fri, Oct 23, 2015 at 5:08 AM, Michel Dänzer wrote: > On 23.10.2015 08:12, Marek Olšák wrote: >> This series unbinds shaders properly in bind_(vs/fs/etc.)_state, because any >> context can release them now, therefore we can't rely on unbinding in >> delete_shader. This is basically a fix for s

Re: [Mesa-dev] [PATCH 0/7] RadeonSI: Unbind shaders properly

2015-10-22 Thread Michel Dänzer
On 23.10.2015 08:12, Marek Olšák wrote: > This series unbinds shaders properly in bind_(vs/fs/etc.)_state, because any > context can release them now, therefore we can't rely on unbinding in > delete_shader. This is basically a fix for sharable shader. > > It also gets rid of the dummy pixel sha

[Mesa-dev] [PATCH 0/7] RadeonSI: Unbind shaders properly

2015-10-22 Thread Marek Olšák
This series unbinds shaders properly in bind_(vs/fs/etc.)_state, because any context can release them now, therefore we can't rely on unbinding in delete_shader. This is basically a fix for sharable shader. It also gets rid of the dummy pixel shader. Instead, the driver just skips draw calls th