glsl_type: Add a C wrapper to get struct field offsets
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 18 Dec 2018 16:30:23 +0000 (10:30 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 8 Jan 2019 00:38:29 +0000 (00:38 +0000)
commitd8a11bfc0850defbd4d3dd1fdc0de0e8901bfdc4
tree7181f611b82feb0bf5ce878c916839a2eed9658f
parentd34f19feba3595b8deec215ad10a6d73b732ea91
glsl_type: Add a C wrapper to get struct field offsets

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir_types.cpp
src/compiler/nir_types.h