intel/compiler: Use C99 array initializers for prog_data/key sizes
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 19 Feb 2020 16:47:20 +0000 (10:47 -0600)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 Aug 2020 10:11:06 +0000 (10:11 +0000)
commite2b6ccbdadd9438eab60ba7dbf8c0d870079c839
tree186346f4da1268e84cff6f3f044c47f6128fa824
parent8e1de8e5ac90a9dd0a2fb9310cb36371a9d12dce
intel/compiler: Use C99 array initializers for prog_data/key sizes

This is way better than a pile of STATIC_ASSERTs.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6280>
src/intel/compiler/brw_compiler.c