summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-21 09:43:30 +0100
committerKeith Whitwell <[email protected]>2008-05-23 09:16:56 +0100
commitba738a3135415de8b381cd8845cd6c435d5747a8 (patch)
treed0447617ff30f3212aff44de0cfae017de297a21 /src/gallium/auxiliary
parentb5c8b3fba6ac90a0d83e02bfe432142f1adee9e5 (diff)
draw: mark varient functions as PIPE_CDECL
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs.h30
1 files changed, 21 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.h b/src/gallium/auxiliary/draw/draw_vs.h
index 677be0d28d0..6bfc2c8d752 100644
--- a/src/gallium/auxiliary/draw/draw_vs.h
+++ b/src/gallium/auxiliary/draw/draw_vs.h
@@ -62,6 +62,19 @@ struct draw_vs_varient_key {
struct draw_vs_element element[PIPE_MAX_ATTRIBS];
};
+struct draw_vs_varient;
+
+typedef void (PIPE_CDECL *vsv_run_elts_func)( struct draw_vs_varient *,
+ const unsigned *elts,
+ unsigned count,
+ void *output_buffer);
+
+typedef void (PIPE_CDECL *vsv_run_linear_func)( struct draw_vs_varient *,
+ unsigned start,
+ unsigned count,
+ void *output_buffer);
+
+
struct draw_vs_varient {
struct draw_vs_varient_key key;
@@ -75,16 +88,15 @@ struct draw_vs_varient {
void (*set_constants)( struct draw_vs_varient *,
const float (*constants)[4] );
+ void (PIPE_CDECL *run_linear)( struct draw_vs_varient *shader,
+ unsigned start,
+ unsigned count,
+ void *output_buffer );
- void (*run_linear)( struct draw_vs_varient *shader,
- unsigned start,
- unsigned count,
- void *output_buffer );
-
- void (*run_elts)( struct draw_vs_varient *shader,
- const unsigned *elts,
- unsigned count,
- void *output_buffer );
+ void (PIPE_CDECL *run_elts)( struct draw_vs_varient *shader,
+ const unsigned *elts,
+ unsigned count,
+ void *output_buffer );
void (*destroy)( struct draw_vs_varient * );
};