Searched refs:offset_level (Results 1 – 1 of 1) sorted by relevance
671 unsigned width, height, depth, offset_level, last_level; in r600_create_sampler_view_custom() local721 offset_level = state->u.tex.first_level; in r600_create_sampler_view_custom()722 last_level = state->u.tex.last_level - offset_level; in r600_create_sampler_view_custom()725 depth = u_minify(texture->depth0, offset_level); in r600_create_sampler_view_custom()726 …pitch = tmp->surface.u.legacy.level[offset_level].nblk_x * util_format_get_blockwidth(state->forma… in r600_create_sampler_view_custom()736 switch (tmp->surface.u.legacy.level[offset_level].mode) { in r600_create_sampler_view_custom()758 view->tex_resource_words[2] = tmp->surface.u.legacy.level[offset_level].offset >> 8; in r600_create_sampler_view_custom()759 if (offset_level >= tmp->resource.b.b.last_level) { in r600_create_sampler_view_custom()760 view->tex_resource_words[3] = tmp->surface.u.legacy.level[offset_level].offset >> 8; in r600_create_sampler_view_custom()762 view->tex_resource_words[3] = tmp->surface.u.legacy.level[offset_level + 1].offset >> 8; in r600_create_sampler_view_custom()