mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
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:
parent
944f132578
commit
585eebdd0f
1 changed files with 4 additions and 2 deletions
|
|
@ -120,8 +120,6 @@ private:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static inline nir_ssa_def *
|
static inline nir_ssa_def *
|
||||||
r600_imm_ivec3(nir_builder *build, int x, int y, int z)
|
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_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);
|
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
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue