mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 08:30:10 +01:00
draw: Put PIPE_CDECL in the right places.
MSVC seems picky about this.
This commit is contained in:
parent
62628c4d3d
commit
6945bcb893
3 changed files with 12 additions and 12 deletions
|
|
@ -60,12 +60,12 @@ struct x86_function;
|
|||
#define FPU_RND_NEAREST 2
|
||||
|
||||
struct aos_machine;
|
||||
typedef void PIPE_CDECL (*lit_func)( struct aos_machine *,
|
||||
typedef void (PIPE_CDECL *lit_func)( struct aos_machine *,
|
||||
float *result,
|
||||
const float *in,
|
||||
unsigned count );
|
||||
|
||||
PIPE_CDECL void aos_do_lit( struct aos_machine *machine,
|
||||
void PIPE_CDECL aos_do_lit( struct aos_machine *machine,
|
||||
float *result,
|
||||
const float *in,
|
||||
unsigned count );
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
#define X87_CW_INFINITY (1<<12)
|
||||
|
||||
|
||||
PIPE_CDECL void aos_do_lit( struct aos_machine *machine,
|
||||
void PIPE_CDECL aos_do_lit( struct aos_machine *machine,
|
||||
float *result,
|
||||
const float *in,
|
||||
unsigned count )
|
||||
|
|
@ -91,7 +91,7 @@ PIPE_CDECL void aos_do_lit( struct aos_machine *machine,
|
|||
}
|
||||
|
||||
|
||||
static PIPE_CDECL void do_lit_lut( struct aos_machine *machine,
|
||||
static void PIPE_CDECL do_lit_lut( struct aos_machine *machine,
|
||||
float *result,
|
||||
const float *in,
|
||||
unsigned count )
|
||||
|
|
|
|||
|
|
@ -118,10 +118,10 @@ static void do_viewport( struct draw_vs_varient_generic *vsvg,
|
|||
}
|
||||
|
||||
|
||||
static void vsvg_run_elts( struct draw_vs_varient *varient,
|
||||
const unsigned *elts,
|
||||
unsigned count,
|
||||
void *output_buffer)
|
||||
static void PIPE_CDECL vsvg_run_elts( struct draw_vs_varient *varient,
|
||||
const unsigned *elts,
|
||||
unsigned count,
|
||||
void *output_buffer)
|
||||
{
|
||||
struct draw_vs_varient_generic *vsvg = (struct draw_vs_varient_generic *)varient;
|
||||
|
||||
|
|
@ -174,10 +174,10 @@ static void vsvg_run_elts( struct draw_vs_varient *varient,
|
|||
}
|
||||
|
||||
|
||||
static void vsvg_run_linear( struct draw_vs_varient *varient,
|
||||
unsigned start,
|
||||
unsigned count,
|
||||
void *output_buffer )
|
||||
static void PIPE_CDECL vsvg_run_linear( struct draw_vs_varient *varient,
|
||||
unsigned start,
|
||||
unsigned count,
|
||||
void *output_buffer )
|
||||
{
|
||||
struct draw_vs_varient_generic *vsvg = (struct draw_vs_varient_generic *)varient;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue