Searched refs:texel_size (Results 1 – 4 of 4) sorted by relevance
225 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() local235 texel_size /= bw; in radeon_map_texture_image()268 *map += y * *stride + x * texel_size; in radeon_map_texture_image()711 GLuint texel_size; in radeon_swrast_map_image() local718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); in radeon_swrast_map_image()725 rs = lvl->rowstride / texel_size; in radeon_swrast_map_image()
244 int texel_size = _mesa_get_format_bytes(format); in gen7_update_buffer_texture_surface() local273 int w = intel_obj->Base.Size / texel_size; in gen7_update_buffer_texture_surface()277 surf->ss3.pitch = texel_size - 1; in gen7_update_buffer_texture_surface()
727 int texel_size = _mesa_get_format_bytes(format); in brw_update_buffer_texture_surface() local751 int w = intel_obj->Base.Size / texel_size; in brw_update_buffer_texture_surface()755 (texel_size - 1) << BRW_SURFACE_PITCH_SHIFT); in brw_update_buffer_texture_surface()