nir/glsl: Use shader_prog->Name for naming the NIR shader
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 9 Oct 2015 01:36:27 +0000 (18:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 14:31:09 +0000 (07:31 -0700)
commitb705005584730cff75f5bbe057832d8b1106124a
tree34b8b974d23a0694cb82c9f67fe14ed05efead4c
parenteb893c220c8af9e7400973ce3eca41246379889b
nir/glsl: Use shader_prog->Name for naming the NIR shader

This has the better name to use. Aparently, sh->Name is usually 0.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/glsl/nir/glsl_to_nir.cpp