intel/compiler: Fix brw_gfx_ver_enum.h to be a proper header file
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 30 Jun 2022 04:01:24 +0000 (21:01 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 30 Jun 2022 23:46:35 +0000 (23:46 +0000)
commit9f8784232afd743a0ee2b94c8784e238ff570af3
tree61514ea25e73b368832b550651e714f929ef4a00
parenta141a351de177181e1e8a524e26357dc9c9a1a3f
intel/compiler: Fix brw_gfx_ver_enum.h to be a proper header file

This header file didn't include normal guards against being included
multiple times.  It also defined a function in a header file without
marking it static inline.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17309>
src/intel/compiler/brw_gfx_ver_enum.h