Home
last modified time | relevance | path

Searched refs:offset_level (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c672 unsigned width, height, depth, offset_level, last_level; in r600_create_sampler_view_custom() local
722 offset_level = state->u.tex.first_level; in r600_create_sampler_view_custom()
723 last_level = state->u.tex.last_level - offset_level; in r600_create_sampler_view_custom()
726 depth = u_minify(texture->depth0, offset_level); in r600_create_sampler_view_custom()
727 …pitch = tmp->surface.u.legacy.level[offset_level].nblk_x * util_format_get_blockwidth(state->forma… in r600_create_sampler_view_custom()
737 switch (tmp->surface.u.legacy.level[offset_level].mode) { in r600_create_sampler_view_custom()
759 view->tex_resource_words[2] = tmp->surface.u.legacy.level[offset_level].offset >> 8; in r600_create_sampler_view_custom()
760 if (offset_level >= tmp->resource.b.b.last_level) { in r600_create_sampler_view_custom()
761 view->tex_resource_words[3] = tmp->surface.u.legacy.level[offset_level].offset >> 8; in r600_create_sampler_view_custom()
763 view->tex_resource_words[3] = tmp->surface.u.legacy.level[offset_level + 1].offset >> 8; in r600_create_sampler_view_custom()