intel/compiler: mark debug constant as const
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Thu, 30 Jul 2020 14:22:53 +0000 (16:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Sep 2020 15:08:01 +0000 (15:08 +0000)
commit8e8356e3dccc24c30c4b8765b5a023cd03ff3de5
treeccc49dbc6efcedfc3482cd8ae6346e5f09bb34e3
parentc7a9dc76dce09d4f23260d26c629a91ef02514a0
intel/compiler: mark debug constant as const

Should quiet Coverity's "'Constant' variable guards dead code".

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6126>
src/intel/compiler/brw_interpolation_map.c