r600/sfn: Fix including/not including c++ parts of header

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9584>
This commit is contained in:
Gert Wollny 2021-03-06 16:06:47 +01:00 committed by Marge Bot
parent 944f132578
commit 585eebdd0f

View file

@ -120,8 +120,6 @@ private:
}
#endif
static inline nir_ssa_def *
r600_imm_ivec3(nir_builder *build, int x, int y, int z)
{
@ -138,6 +136,10 @@ bool r600_lower_tess_io(nir_shader *shader, enum pipe_prim_type prim_type);
bool r600_append_tcs_TF_emission(nir_shader *shader, enum pipe_prim_type prim_type);
bool r600_lower_tess_coord(nir_shader *sh, enum pipe_prim_type prim_type);
#else
#include "gallium/drivers/r600/r600_shader.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif