nir: fix compilation warning on glsl_get_internal_ifc_packing
authorTapani Pälli <tapani.palli@intel.com>
Mon, 9 Mar 2020 08:35:20 +0000 (10:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 09:43:49 +0000 (09:43 +0000)
commit24408acca47619bdb2da1d3f2fa91b1b6e092e16
tree92993a71826c724561925ed70043e5268e6be9b5
parentad66b25415745383aa9380975f16967bfb1022a8
nir: fix compilation warning on glsl_get_internal_ifc_packing

Removes following warning:
   warning: 'const' type qualifier on return type has no effect

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4111>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4111>
src/compiler/nir_types.cpp
src/compiler/nir_types.h