diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-05-07 14:21:59 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-05-08 09:18:11 +0800 |
commit | 0ab5cbc5310c2a60c10fd611fcf9a4791379f42b (patch) | |
tree | be80dd3dd4c5580979b459e99683e81cd3069a65 /src | |
parent | 5749983fc6bae0a845bff0dbdd79c87420dffcf4 (diff) |
Use I830FALLBACK when check pitch for debug
(cherry picked from commit a7188b1f2dd9a69fa7daefe478d283735226f9f3)
Diffstat (limited to 'src')
-rw-r--r-- | src/i830.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -859,13 +859,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 */ |