nir: Delete nir_shader::user_structures and num_user_structures.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Mar 2015 08:26:25 +0000 (00:26 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Mar 2015 03:03:44 +0000 (20:03 -0700)
commit2561aea6b306c4438defeb4ec96be05f6aadd12e
tree8a83054b558bf3c882f2628f25f7a8bffaf2ba79
parent9f1e250e77ebd9255bbd9a83bd68c9e4068c2aab
nir: Delete nir_shader::user_structures and num_user_structures.

Nothing actually uses these, and the only caller of glsl_to_nir()
(brw_fs_nir.cpp) always passes NULL for the _mesa_glsl_parse_state
pointer, meaning they'll always be NULL and 0, respectively.

Just delete them.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.c
src/glsl/nir/nir.h
src/glsl/nir/nir_print.c