diff options
author | Vinson Lee <[email protected]> | 2010-02-07 00:09:46 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-07 00:09:46 -0800 |
commit | bfa877cdd3a92695830034822ccd9e83cace55b2 (patch) | |
tree | 629793155f21e70df732bd0e944b98f1748aa270 /src/gallium/drivers/llvmpipe/lp_rast.h | |
parent | 4f3a023ba423100b805aa77bda2f69ee3c2ef697 (diff) |
llvmpipe: Silence GCC 'type qualifiers ignored on function return type' warnings.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index e4c56f153fc..34da73eb50e 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -152,7 +152,7 @@ union lp_rast_cmd_arg { /* Cast wrappers. Hopefully these compile to noops! */ -static INLINE const union lp_rast_cmd_arg +static INLINE union lp_rast_cmd_arg lp_rast_arg_inputs( const struct lp_rast_shader_inputs *shade_tile ) { union lp_rast_cmd_arg arg; @@ -160,7 +160,7 @@ lp_rast_arg_inputs( const struct lp_rast_shader_inputs *shade_tile ) return arg; } -static INLINE const union lp_rast_cmd_arg +static INLINE union lp_rast_cmd_arg lp_rast_arg_triangle( const struct lp_rast_triangle *triangle ) { union lp_rast_cmd_arg arg; @@ -168,7 +168,7 @@ lp_rast_arg_triangle( const struct lp_rast_triangle *triangle ) return arg; } -static INLINE const union lp_rast_cmd_arg +static INLINE union lp_rast_cmd_arg lp_rast_arg_state( const struct lp_rast_state *state ) { union lp_rast_cmd_arg arg; @@ -176,7 +176,7 @@ lp_rast_arg_state( const struct lp_rast_state *state ) return arg; } -static INLINE const union lp_rast_cmd_arg +static INLINE union lp_rast_cmd_arg lp_rast_arg_fence( struct lp_fence *fence ) { union lp_rast_cmd_arg arg; @@ -185,7 +185,7 @@ lp_rast_arg_fence( struct lp_fence *fence ) } -static INLINE const union lp_rast_cmd_arg +static INLINE union lp_rast_cmd_arg lp_rast_arg_null( void ) { union lp_rast_cmd_arg arg; |