nir: move nir_shader_info to a common compiler header
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 12 Oct 2016 23:46:11 +0000 (10:46 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commit094fe3a9591ce200162d955635eee577c13f9324
treeb98d53c71b9057b415aa2d172f2ba92c0924abae
parente40d32b3ec0793b475004b8f36b17f1493806271
nir: move nir_shader_info to a common compiler header

This will allow use to stop copying values between structs and
will also simplify handling handling these values in the shader cache.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h
src/compiler/shader_info.h [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_nir.c