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

Marek Olšák maraeo at gmail.com
Thu Oct 22 16:12:12 PDT 2015


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 that have rasterizer_discard==0 and ps==NULL set at the same time. rasterizer_discard==1 and ps==NULL works as expected.

Please review.

Marek


More information about the mesa-dev mailing list