Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c676 unsigned width, height, depth, offset_level, last_level; in r600_create_sampler_view_custom() local
726 offset_level = state->u.tex.first_level; in r600_create_sampler_view_custom()
727 last_level = state->u.tex.last_level - offset_level; in r600_create_sampler_view_custom()
730 depth = u_minify(texture->depth0, offset_level); in r600_create_sampler_view_custom()
731 …pitch = tmp->surface.u.legacy.level[offset_level].nblk_x * util_format_get_blockwidth(state->forma… in r600_create_sampler_view_custom()
741 switch (tmp->surface.u.legacy.level[offset_level].mode) { in r600_create_sampler_view_custom()
763 view->tex_resource_words[2] = tmp->surface.u.legacy.level[offset_level].offset_256B; in r600_create_sampler_view_custom()
764 if (offset_level >= tmp->resource.b.b.last_level) { in r600_create_sampler_view_custom()
765 view->tex_resource_words[3] = tmp->surface.u.legacy.level[offset_level].offset_256B; in r600_create_sampler_view_custom()
767 view->tex_resource_words[3] = tmp->surface.u.legacy.level[offset_level + 1].offset_256B; in r600_create_sampler_view_custom()