mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
Move XSTDCALL definition to p_compiler.h
This commit is contained in:
parent
5356ba250c
commit
65996f27f4
3 changed files with 10 additions and 18 deletions
|
|
@ -55,16 +55,6 @@ compute_clipmask(const float *clip, const float (*plane)[4], unsigned nr)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#if !defined(XSTDCALL)
|
||||
#if defined(WIN32)
|
||||
#define XSTDCALL __stdcall
|
||||
#else
|
||||
#define XSTDCALL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef void (XSTDCALL *codegen_function) (
|
||||
const struct tgsi_exec_vector *input,
|
||||
struct tgsi_exec_vector *output,
|
||||
|
|
|
|||
|
|
@ -80,4 +80,14 @@ typedef unsigned long long uint64;
|
|||
|
||||
|
||||
|
||||
/** For calling code-gen'd functions */
|
||||
#if !defined(XSTDCALL)
|
||||
#if defined(WIN32)
|
||||
#define XSTDCALL __stdcall
|
||||
#else
|
||||
#define XSTDCALL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* P_COMPILER_H */
|
||||
|
|
|
|||
|
|
@ -58,14 +58,6 @@ quad_shade_stage(struct quad_stage *qs)
|
|||
}
|
||||
|
||||
|
||||
#if !defined(XSTDCALL)
|
||||
#if defined(WIN32)
|
||||
#define XSTDCALL __stdcall
|
||||
#else
|
||||
#define XSTDCALL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef void (XSTDCALL *codegen_function)(
|
||||
const struct tgsi_exec_vector *input,
|
||||
struct tgsi_exec_vector *output,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue