Lines Matching refs:Format

220    if (rb->Format == MESA_FORMAT_Z32) {  in get_z32_values()
229 const GLint bpp = _mesa_get_format_bytes(rb->Format); in get_z32_values()
234 _mesa_unpack_uint_z_row(rb->Format, 1, src, &zbuffer[i]); in get_z32_values()
255 if (rb->Format == MESA_FORMAT_Z32) { in put_z32_values()
265 gl_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format); in put_z32_values()
266 const GLint bpp = _mesa_get_format_bytes(rb->Format); in put_z32_values()
287 const GLint bpp = _mesa_get_format_bytes(rb->Format); in _swrast_depth_test_span()
295 GLuint zBits = _mesa_get_format_bits(rb->Format, GL_DEPTH_BITS); in _swrast_depth_test_span()
303 if (rb->Format == MESA_FORMAT_Z16 && !(span->arrayMask & SPAN_XY)) { in _swrast_depth_test_span()
308 else if (rb->Format == MESA_FORMAT_Z32 && !(span->arrayMask & SPAN_XY)) { in _swrast_depth_test_span()
323 _mesa_unpack_uint_z_row(rb->Format, count, zStart, zBufferTemp); in _swrast_depth_test_span()
382 gl_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format); in _swrast_depth_test_span()
436 if (rb->Format == MESA_FORMAT_Z32 && !(span->arrayMask & SPAN_XY)) { in _swrast_depth_bounds_test()
447 _mesa_unpack_uint_z_row(rb->Format, count, zStart, zBufferTemp); in _swrast_depth_bounds_test()
518 _mesa_unpack_float_z_row(rb->Format, n, _swrast_pixel_address(rb, x, y), in _swrast_read_depth_span_float()
549 if (rb->Format == MESA_FORMAT_S8_Z24 || in _swrast_clear_depth_buffer()
550 rb->Format == MESA_FORMAT_X8_Z24 || in _swrast_clear_depth_buffer()
551 rb->Format == MESA_FORMAT_Z24_S8 || in _swrast_clear_depth_buffer()
552 rb->Format == MESA_FORMAT_Z24_X8) { in _swrast_clear_depth_buffer()
563 switch (rb->Format) { in _swrast_clear_depth_buffer()
568 _mesa_pack_float_z_row(rb->Format, 1, &clear, &clearVal); in _swrast_clear_depth_buffer()
589 _mesa_pack_float_z_row(rb->Format, 1, &clear, &clearVal); in _swrast_clear_depth_buffer()
608 if (rb->Format == MESA_FORMAT_S8_Z24 || in _swrast_clear_depth_buffer()
609 rb->Format == MESA_FORMAT_X8_Z24) in _swrast_clear_depth_buffer()
614 _mesa_pack_float_z_row(rb->Format, 1, &clear, &clearVal); in _swrast_clear_depth_buffer()
641 _mesa_get_format_name(rb->Format)); in _swrast_clear_depth_buffer()
688 switch (rb->Format) { in _swrast_clear_depth_stencil_buffer()
695 _mesa_pack_float_z_row(rb->Format, 1, &zClear, &clear); in _swrast_clear_depth_stencil_buffer()
697 if (rb->Format == MESA_FORMAT_S8_Z24) { in _swrast_clear_depth_stencil_buffer()
751 _mesa_get_format_name(rb->Format)); in _swrast_clear_depth_stencil_buffer()