mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 01:30:30 +01:00
r200: replace INLINE with inline
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8e9fe53ce9
commit
bbedb85898
3 changed files with 4 additions and 4 deletions
|
|
@ -102,7 +102,7 @@ do { \
|
|||
memcpy( rmesa->hw.ATOM.lastcmd, rmesa->hw.ATOM.cmd, \
|
||||
rmesa->hw.ATOM.cmd_size * 4)
|
||||
|
||||
static INLINE int R200_DB_STATECHANGE(
|
||||
static inline int R200_DB_STATECHANGE(
|
||||
r200ContextPtr rmesa,
|
||||
struct radeon_state_atom *atom )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ void r200_swtcl_flush(struct gl_context *ctx, uint32_t current_offset)
|
|||
/**************************************************************************/
|
||||
|
||||
|
||||
static INLINE GLuint reduced_hw_prim( struct gl_context *ctx, GLuint prim)
|
||||
static inline GLuint reduced_hw_prim( struct gl_context *ctx, GLuint prim)
|
||||
{
|
||||
switch (prim) {
|
||||
case GL_POINTS:
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ static GLboolean r200VertexProgUpdateParams(struct gl_context *ctx, struct r200_
|
|||
return GL_TRUE;
|
||||
}
|
||||
|
||||
static INLINE unsigned long t_dst_mask(GLuint mask)
|
||||
static inline unsigned long t_dst_mask(GLuint mask)
|
||||
{
|
||||
/* WRITEMASK_* is equivalent to VSF_FLAG_* */
|
||||
return mask & VSF_FLAG_ALL;
|
||||
|
|
@ -223,7 +223,7 @@ static unsigned long t_src_class(gl_register_file file)
|
|||
}
|
||||
}
|
||||
|
||||
static INLINE unsigned long t_swizzle(GLubyte swizzle)
|
||||
static inline unsigned long t_swizzle(GLubyte swizzle)
|
||||
{
|
||||
/* this is in fact a NOP as the Mesa SWIZZLE_* are all identical to VSF_IN_COMPONENT_* */
|
||||
return swizzle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue