summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-02-11 13:14:01 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-02-11 13:14:01 -0500
commitaeecfe6718fea0c240ffa8824225e7a164dfd9f1 (patch)
tree1a017cd3b6407d54b6b2595063c6bd6d6b18e7df
parente26bf35f08de6e7ba9d72e22311e8691990f74a4 (diff)
R6xx/R7xx: be more verbose about what function ran out of VB space
-rw-r--r--src/r600_exa.c8
-rw-r--r--src/r600_textured_videofuncs.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 92e1ac6..70e55db 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -261,7 +261,7 @@ R600Solid(PixmapPtr pPix, int x1, int y1, int x2, int y2)
struct r6xx_solid_vertex *solid_vb = (pointer)((char*)accel_state->ib->address + (accel_state->ib->total / 2));
if (((accel_state->vb_index + 3) * 8) > (accel_state->ib->total / 2)) {
- ErrorF("Ran out of VB space!\n");
+ ErrorF("Solid: Ran out of VB space!\n");
return;
}
@@ -610,7 +610,7 @@ R600AppendCopyVertex(ScrnInfoPtr pScrn,
struct r6xx_copy_vertex vertex[3];
if (((accel_state->vb_index + 3) * 16) > (accel_state->ib->total / 2)) {
- ErrorF("Ran out of VB space!\n");
+ ErrorF("Copy: Ran out of VB space!\n");
return;
}
@@ -1918,7 +1918,7 @@ static void R600Composite(PixmapPtr pDst,
xPointFixed maskTopLeft, maskTopRight, maskBottomLeft, maskBottomRight;
if (((accel_state->vb_index + 3) * 24) > (accel_state->ib->total / 2)) {
- ErrorF("Ran out of VB space!\n");
+ ErrorF("Composite: Ran out of VB space!\n");
return;
}
@@ -1979,7 +1979,7 @@ static void R600Composite(PixmapPtr pDst,
struct r6xx_comp_vertex vertex[3];
if (((accel_state->vb_index + 3) * 16) > (accel_state->ib->total / 2)) {
- ErrorF("Ran out of VB space!\n");
+ ErrorF("Composite: Ran out of VB space!\n");
return;
}
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c
index a2db897..46389b8 100644
--- a/src/r600_textured_videofuncs.c
+++ b/src/r600_textured_videofuncs.c
@@ -413,7 +413,7 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, struct RHDPortPriv *pPriv)
struct r6xx_copy_vertex vertex[3];
if (((accel_state->vb_index + 3) * 16) > (accel_state->ib->total / 2)) {
- ErrorF("Ran out of VB space!\n");
+ ErrorF("Xv: Ran out of VB space!\n");
break;
}