On 06/19/2014 12:02 AM, Kenneth Graunke wrote:
> When the last context in a share group is destroyed, the hash table
> containing all of the shader programs (ctx->Shared->ShaderObjects) is
> destroyed, throwing away all of the shader programs.
>
> Using a static variable to store program IDs ends
Kenneth Graunke writes:
> When the last context in a share group is destroyed, the hash table
> containing all of the shader programs (ctx->Shared->ShaderObjects) is
> destroyed, throwing away all of the shader programs.
Reviewed-by: Eric Anholt
pgpBNgFcIH1rb.pgp
Description: PGP signature
__
When the last context in a share group is destroyed, the hash table
containing all of the shader programs (ctx->Shared->ShaderObjects) is
destroyed, throwing away all of the shader programs.
Using a static variable to store program IDs ends up holding on to them
after this, so we think we still ha