From a7188b1f2dd9a69fa7daefe478d283735226f9f3 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Wed, 7 May 2008 14:21:59 +0800 Subject: [PATCH] Use I830FALLBACK when check pitch for debug --- src/i830.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i830.h b/src/i830.h index 67241dd4..a8a375b6 100644 --- a/src/i830.h +++ b/src/i830.h @@ -867,13 +867,13 @@ Bool i830_pixmap_tiled(PixmapPtr p); #define i830_exa_check_pitch_2d(p) do {\ uint32_t pitch = intel_get_pixmap_pitch(p);\ - if (pitch > KB(32)) return FALSE;\ + if (pitch > KB(32)) I830FALLBACK("pitch exceeds 2d limit 32K\n");\ } while(0) /* For pre-965 chip only, as they have 8KB limit for 3D */ #define i830_exa_check_pitch_3d(p) do {\ uint32_t pitch = intel_get_pixmap_pitch(p);\ - if (pitch > KB(8)) return FALSE;\ + if (pitch > KB(8)) I830FALLBACK("pitch exceeds 3d limit 8K\n");\ } while(0) /* Batchbuffer compatibility handling */