diff options
author | Brian Paul <[email protected]> | 2012-08-10 12:16:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-08-10 13:27:04 -0600 |
commit | 16c702ef3b9cff320c2adbfa853e00088adbf689 (patch) | |
tree | 4050aab7a74db2e53afd679f4408bd236631183b /src/gallium/drivers/softpipe/sp_context.h | |
parent | 3487b93cc4b8bea44f966a4f5cfd29b26dbbcff2 (diff) |
softpipe: fix softpipe_delete_fs_state() failed assertion
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: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
0 files changed, 0 insertions, 0 deletions