Searched refs:offset_level (Results 1 – 2 of 2) sorted by relevance
1018 unsigned width, height, depth, offset_level, last_level; in r600_create_sampler_view() local1055 offset_level = state->u.tex.first_level; in r600_create_sampler_view()1056 last_level = state->u.tex.last_level - offset_level; in r600_create_sampler_view()1057 width = tmp->surface.level[offset_level].npix_x; in r600_create_sampler_view()1058 height = tmp->surface.level[offset_level].npix_y; in r600_create_sampler_view()1059 depth = tmp->surface.level[offset_level].npix_z; in r600_create_sampler_view()1060 pitch = tmp->surface.level[offset_level].nblk_x * util_format_get_blockwidth(state->format); in r600_create_sampler_view()1069 switch (tmp->surface.level[offset_level].mode) { in r600_create_sampler_view()1094 view->tex_resource_words[2] = tmp->surface.level[offset_level].offset >> 8; in r600_create_sampler_view()1095 if (offset_level >= tmp->surface.last_level) { in r600_create_sampler_view()[all …]
1995 unsigned height, depth, width, offset_level, last_level; in si_create_sampler_view() local2042 offset_level = state->u.tex.first_level; in si_create_sampler_view()2043 last_level = state->u.tex.last_level - offset_level; in si_create_sampler_view()2044 width = tmp->surface.level[offset_level].npix_x; in si_create_sampler_view()2045 height = tmp->surface.level[offset_level].npix_y; in si_create_sampler_view()2046 depth = tmp->surface.level[offset_level].npix_z; in si_create_sampler_view()2047 pitch = tmp->surface.level[offset_level].nblk_x * util_format_get_blockwidth(state->format); in si_create_sampler_view()2098 va += tmp->surface.level[offset_level].offset; in si_create_sampler_view()2109 S_008F1C_BASE_LEVEL(offset_level) | in si_create_sampler_view()