Lines Matching refs:ASSERT

113    ASSERT(dimensions >= 1 && dimensions <= 3);  in _mesa_image_offset()
169 ASSERT(bytes_per_row % alignment == 0); in _mesa_image_offset()
283 ASSERT(packing); in _mesa_image_row_stride()
331 ASSERT(packing); in _mesa_image_image_stride()
471 ASSERT(srcType != dstType); in _mesa_convert_colors()
494 ASSERT(dstType == GL_FLOAT); in _mesa_convert_colors()
527 ASSERT(dstType == GL_FLOAT); in _mesa_convert_colors()
556 ASSERT(dstType == GL_UNSIGNED_SHORT); in _mesa_convert_colors()
602 ASSERT(ctx->Pixel.ZoomX == 1.0F); in _mesa_clip_drawpixels()
603 ASSERT(ctx->Pixel.ZoomY == 1.0F || ctx->Pixel.ZoomY == -1.0F); in _mesa_clip_drawpixels()
787 ASSERT(*dstX0 < maxValue); /* X0 should be inside right edge */ in clip_right_or_top()
790 ASSERT(t >= 0.0 && t <= 1.0); in clip_right_or_top()
797 ASSERT(*dstX1 < maxValue); /* X1 should be inside right edge */ in clip_right_or_top()
800 ASSERT(t >= 0.0 && t <= 1.0); in clip_right_or_top()
820 ASSERT(*dstX1 > minValue); /* X1 should be inside left edge */ in clip_left_or_bottom()
823 ASSERT(t >= 0.0 && t <= 1.0); in clip_left_or_bottom()
830 ASSERT(*dstX0 > minValue); /* X0 should be inside left edge */ in clip_left_or_bottom()
833 ASSERT(t >= 0.0 && t <= 1.0); in clip_left_or_bottom()
929 ASSERT(*dstX0 >= dstXmin); in _mesa_clip_blit()
930 ASSERT(*dstX0 <= dstXmax); in _mesa_clip_blit()
931 ASSERT(*dstX1 >= dstXmin); in _mesa_clip_blit()
932 ASSERT(*dstX1 <= dstXmax); in _mesa_clip_blit()
934 ASSERT(*dstY0 >= dstYmin); in _mesa_clip_blit()
935 ASSERT(*dstY0 <= dstYmax); in _mesa_clip_blit()
936 ASSERT(*dstY1 >= dstYmin); in _mesa_clip_blit()
937 ASSERT(*dstY1 <= dstYmax); in _mesa_clip_blit()
939 ASSERT(*srcX0 >= srcXmin); in _mesa_clip_blit()
940 ASSERT(*srcX0 <= srcXmax); in _mesa_clip_blit()
941 ASSERT(*srcX1 >= srcXmin); in _mesa_clip_blit()
942 ASSERT(*srcX1 <= srcXmax); in _mesa_clip_blit()
944 ASSERT(*srcY0 >= srcYmin); in _mesa_clip_blit()
945 ASSERT(*srcY0 <= srcYmax); in _mesa_clip_blit()
946 ASSERT(*srcY1 >= srcYmin); in _mesa_clip_blit()
947 ASSERT(*srcY1 <= srcYmax); in _mesa_clip_blit()