mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-16 21:58:21 +02:00
r200: Add trace logging to r200PointSize.
This commit is contained in:
parent
c036d13d7d
commit
05b0408489
1 changed files with 7 additions and 0 deletions
|
|
@ -595,6 +595,13 @@ static void r200PointSize( GLcontext *ctx, GLfloat size )
|
|||
r200ContextPtr rmesa = R200_CONTEXT(ctx);
|
||||
GLfloat *fcmd = (GLfloat *)rmesa->hw.ptp.cmd;
|
||||
|
||||
radeon_print(RADEON_STATE, RADEON_TRACE,
|
||||
"%s(%p) size: %f, fixed point result: %d.%d (%d/16)\n",
|
||||
__func__, ctx, size,
|
||||
((GLuint)(ctx->Point.Size * 16.0))/16,
|
||||
(((GLuint)(ctx->Point.Size * 16.0))&15)*100/16,
|
||||
((GLuint)(ctx->Point.Size * 16.0))&15);
|
||||
|
||||
R200_STATECHANGE( rmesa, cst );
|
||||
R200_STATECHANGE( rmesa, ptp );
|
||||
rmesa->hw.cst.cmd[CST_RE_POINTSIZE] &= ~0xffff;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue