mesa: Make metaops use program refcounts instead of names.
authorEric Anholt <eric@anholt.net>
Fri, 29 Oct 2010 18:28:38 +0000 (11:28 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Oct 2010 18:28:38 +0000 (11:28 -0700)
commita974949f3b586eee2bc8d6d97d3adb71796fe167
tree0fcda3bff1e1ebf89a1bd65a61a7b0dfeb7255de
parent34e8801b9c04960337fa59d4b24f9df68a06a0d9
mesa: Make metaops use program refcounts instead of names.

Fixes failure on restoring state when the program was active but
deleted, and the name no longer exists.

Bug #31194
src/mesa/drivers/common/meta.c
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.h