mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 03:30:22 +01:00
r300: Newlines, dammit!
This commit is contained in:
parent
161f4068aa
commit
f2a7d4f2e8
2 changed files with 9 additions and 7 deletions
|
|
@ -67,7 +67,7 @@ static uint32_t pack_float_32(float f)
|
|||
|
||||
#define BEGIN_CS(size) do { \
|
||||
CHECK_CS(size); \
|
||||
debug_printf("r300: BEGIN_CS in %s (%s:%d)", __FUNCTION__, __FILE__, \
|
||||
debug_printf("r300: BEGIN_CS in %s (%s:%d)\n", __FUNCTION__, __FILE__, \
|
||||
__LINE__); \
|
||||
cs_winsys->begin_cs(cs, (size), __FILE__, __FUNCTION__, __LINE__); \
|
||||
} while (0)
|
||||
|
|
@ -94,13 +94,13 @@ static uint32_t pack_float_32(float f)
|
|||
} while (0)
|
||||
|
||||
#define END_CS do { \
|
||||
debug_printf("r300: END_CS in %s (%s:%d)", __FUNCTION__, __FILE__, \
|
||||
debug_printf("r300: END_CS in %s (%s:%d)\n", __FUNCTION__, __FILE__, \
|
||||
__LINE__); \
|
||||
cs_winsys->end_cs(cs, __FILE__, __FUNCTION__, __LINE__); \
|
||||
} while (0)
|
||||
|
||||
#define FLUSH_CS do { \
|
||||
debug_printf("r300: FLUSH_CS in %s (%s:%d)", __FUNCTION__, __FILE__, \
|
||||
debug_printf("r300: FLUSH_CS in %s (%s:%d)\n", __FUNCTION__, __FILE__, \
|
||||
__LINE__); \
|
||||
cs_winsys->flush_cs(cs); \
|
||||
} while (0)
|
||||
|
|
|
|||
|
|
@ -139,7 +139,8 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
|
|||
/* XXX 4 eventually */
|
||||
return 1;
|
||||
default:
|
||||
debug_printf("r300: Implementation error: Bad param %d", param);
|
||||
debug_printf("r300: Implementation error: Bad param %d\n",
|
||||
param);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -162,7 +163,8 @@ static float r300_get_paramf(struct pipe_screen* pscreen, int param)
|
|||
case PIPE_CAP_MAX_TEXTURE_LOD_BIAS:
|
||||
return 16.0f;
|
||||
default:
|
||||
debug_printf("r300: Implementation error: Bad paramf %d", param);
|
||||
debug_printf("r300: Implementation error: Bad paramf %d\n",
|
||||
param);
|
||||
return 0.0f;
|
||||
}
|
||||
}
|
||||
|
|
@ -175,7 +177,7 @@ static boolean check_tex_2d_format(enum pipe_format format)
|
|||
case PIPE_FORMAT_I8_UNORM:
|
||||
return TRUE;
|
||||
default:
|
||||
debug_printf("r300: Warning: Got unknown format: %d, in %s",
|
||||
debug_printf("r300: Warning: Got unknown format: %d, in %s\n",
|
||||
format, __FUNCTION__);
|
||||
break;
|
||||
}
|
||||
|
|
@ -194,7 +196,7 @@ static boolean r300_is_format_supported(struct pipe_screen* pscreen,
|
|||
case PIPE_TEXTURE_2D:
|
||||
return check_tex_2d_format(format);
|
||||
default:
|
||||
debug_printf("r300: Warning: Got unknown format target: %d",
|
||||
debug_printf("r300: Warning: Got unknown format target: %d\n",
|
||||
format);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue