nir: add C wrapper around glsl_type::record_location_offset
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 17 Sep 2015 14:57:26 +0000 (15:57 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 21 Sep 2015 16:01:56 +0000 (17:01 +0100)
commitd130cda4531602185dcf7cafe217c9b7abdba954
tree2c9780d40d350f9e3206887fc268583a963ba2ee
parentbdb1faf44eac0128baaab62bd4c425c7c3424299
nir: add C wrapper around glsl_type::record_location_offset

This will allow us to convert nir_lower_sampler.cpp to C.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Gottfried Haider <gottfried.haider@gmail.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/glsl/nir/nir_types.cpp
src/glsl/nir/nir_types.h