nir: Add a a nir_shader_info struct
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 6 Aug 2015 00:14:59 +0000 (17:14 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 2 Oct 2015 21:22:53 +0000 (14:22 -0700)
commite4fea486da6ee2964ae15380bcdc8676dcc2a515
treea8faca08ee04592105e464bbf922631c65fd72d1
parentcd1ae6ebfac22f76d26a5b8659423969b2aeddce
nir: Add a a nir_shader_info struct

This commit also adds code to glsl_to_nir and prog_to_nir to fill it out.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.c
src/glsl/nir/nir.h
src/mesa/program/prog_to_nir.c