nir: cleanup glsl_get_struct_field_offset, glsl_get_explicit_stride
authorTapani Pälli <tapani.palli@intel.com>
Tue, 22 Jan 2019 07:37:58 +0000 (09:37 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 22 Jan 2019 11:09:15 +0000 (13:09 +0200)
commitda3ca69afadb142c1591c75c2bfd345c8d4337de
tree61fad908b1a5035f9607cb6d7a6d2fafa79445e4
parent41a0c0039225753b26f2ce61b49fef8d45c616ad
nir: cleanup glsl_get_struct_field_offset, glsl_get_explicit_stride

Take away const qualifier from return type of these functions as
-Wignored-qualifiers points out it is ignored for these cases.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir_types.cpp
src/compiler/nir_types.h