Home | History | Annotate | Download | only in swrast

Lines Matching refs:Format

220    if (rb->Format == MESA_FORMAT_Z_UNORM32) {
229 const GLint bpp = _mesa_get_format_bytes(rb->Format);
234 _mesa_unpack_uint_z_row(rb->Format, 1, src, &zbuffer[i]);
255 if (rb->Format == MESA_FORMAT_Z_UNORM32) {
265 gl_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format);
266 const GLint bpp = _mesa_get_format_bytes(rb->Format);
287 const GLint bpp = _mesa_get_format_bytes(rb->Format);
295 GLuint zBits = _mesa_get_format_bits(rb->Format, GL_DEPTH_BITS);
303 if (rb->Format == MESA_FORMAT_Z_UNORM16 && !(span->arrayMask & SPAN_XY)) {
308 else if (rb->Format == MESA_FORMAT_Z_UNORM32 && !(span->arrayMask & SPAN_XY)) {
313 if (_mesa_get_format_datatype(rb->Format) != GL_UNSIGNED_NORMALIZED) {
316 _mesa_get_format_name(rb->Format));
329 _mesa_unpack_uint_z_row(rb->Format, count, zStart, zBufferTemp);
388 gl_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format);
442 if (rb->Format == MESA_FORMAT_Z_UNORM32 && !(span->arrayMask & SPAN_XY)) {
448 if (rb->Format == MESA_FORMAT_Z_UNORM16) {
463 _mesa_unpack_uint_z_row(rb->Format, count, zStart, zBufferTemp);
534 _mesa_unpack_float_z_row(rb->Format, n, _swrast_pixel_address(rb, x, y),
565 if (rb->Format == MESA_FORMAT_Z24_UNORM_S8_UINT ||
566 rb->Format == MESA_FORMAT_Z24_UNORM_X8_UINT ||
567 rb->Format == MESA_FORMAT_S8_UINT_Z24_UNORM ||
568 rb->Format == MESA_FORMAT_X8_UINT_Z24_UNORM) {
579 switch (rb->Format) {
584 _mesa_pack_float_z_row(rb->Format, 1, &clear, &clearVal);
605 _mesa_pack_float_z_row(rb->Format, 1, &clear, &clearVal);
624 if (rb->Format == MESA_FORMAT_Z24_UNORM_S8_UINT ||
625 rb->Format == MESA_FORMAT_Z24_UNORM_X8_UINT)
630 _mesa_pack_float_z_row(rb->Format, 1, &clear, &clearVal);
655 _mesa_problem(ctx, "Unexpected depth buffer format %s"
657 _mesa_get_format_name(rb->Format));
704 switch (rb->Format) {
711 _mesa_pack_float_z_row(rb->Format, 1, &zClear, &clear);
713 if (rb->Format == MESA_FORMAT_Z24_UNORM_S8_UINT) {
765 _mesa_problem(ctx, "Unexpected depth buffer format %s"
767 _mesa_get_format_name(rb->Format));