Re: [Mesa-dev] [PATCH] softpipe: fix softpipe_delete_fs_state() failed assertion

2012-08-10 Thread Jose Fonseca
Looks good to me. Jose - Original Message - > The var!=softpipe->fs_variant assertion was failing because we > weren't > nulling the softpipe->fs_variant pointer when binding a new shader. > Since softpipe->fs_variant depends on the current fs, it's of no use > when a new FS is bound. >

[Mesa-dev] [PATCH] softpipe: fix softpipe_delete_fs_state() failed assertion

2012-08-10 Thread Brian Paul
The var!=softpipe->fs_variant assertion was failing because we weren't nulling the softpipe->fs_variant pointer when binding a new shader. Since softpipe->fs_variant depends on the current fs, it's of no use when a new FS is bound. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53318 Note: Thi