glsl: Get rid of hardcoded arrays of shader target names.
authorPaul Berry <stereotype441@gmail.com>
Tue, 17 Dec 2013 17:46:08 +0000 (09:46 -0800)
committerPaul Berry <stereotype441@gmail.com>
Mon, 30 Dec 2013 19:21:21 +0000 (11:21 -0800)
commitd343e3d98c9ef639663efc371b1729dcc7788777
treee240a2f2795779aaae95c843a7ae35c75349e2fb
parent89c35c59a4421db863ba70b28a546b294f7b1ba9
glsl: Get rid of hardcoded arrays of shader target names.

We already have a function for converting a shader type index to a
string: _mesa_shader_type_to_string().

Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/link_atomics.cpp
src/glsl/linker.cpp