meta: Call glObjectLabel before linking.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Jul 2014 00:55:32 +0000 (17:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Jul 2014 23:04:52 +0000 (16:04 -0700)
commite3b16294cb56bc0f3ee4a68a525884db0ce6806d
treee16681a7effcb3ce8488ad4eb6504b85edd985c8
parent272e36e229cd0e64ad3c181d2875fa1355bee25e
meta: Call glObjectLabel before linking.

i965 precompiles shaders at link time, and prints a disassembly if
INTEL_DEBUG=vs,gs,fs, including the shader name.  However, blit shaders
were showing up as "unnamed" since we hadn't set a name prior to
linking.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/common/meta.c