intel/compiler: move extern C functions out of namespace brw
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Fri, 26 Jun 2020 18:15:35 +0000 (20:15 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 4 Sep 2020 17:38:25 +0000 (17:38 +0000)
commite5f735a986576a7634dfb8fed23c969bf4260f45
tree30b4be2e68715efb6e70184cf939e69730e50c34
parentd4c6e3f196fb61939b0b6c9d1051ac1e35625d42
intel/compiler: move extern C functions out of namespace brw

brw_compile_gs and brw_compile_tcs are extern C functions, but are
defined inside of brw namespace, which somehow works but confuses
Eclipse CDT's code analysis.

Move these functions out of brw namespace and fix references to
objects from brw namespace.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6602>
src/intel/compiler/brw_vec4_gs_visitor.cpp
src/intel/compiler/brw_vec4_tcs.cpp