Lines Matching refs:tex
215 struct i915_texture *tex = i915_texture(dst->texture); in i915_clear_render_target_blitter() local
216 struct pipe_resource *pt = &tex->b.b; in i915_clear_render_target_blitter()
218 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); in i915_clear_render_target_blitter()
227 (unsigned short) tex->stride, in i915_clear_render_target_blitter()
228 tex->buffer, offset, in i915_clear_render_target_blitter()
243 struct i915_texture *tex = i915_texture(dst->texture); in i915_clear_depth_stencil_blitter() local
244 struct pipe_resource *pt = &tex->b.b; in i915_clear_depth_stencil_blitter()
247 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); in i915_clear_depth_stencil_blitter()
266 (unsigned short) tex->stride, in i915_clear_depth_stencil_blitter()
267 tex->buffer, offset, in i915_clear_depth_stencil_blitter()
285 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); in i915_create_surface()
288 assert(surf_tmpl->u.tex.first_layer == 0); in i915_create_surface()
296 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); in i915_create_surface()
297 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); in i915_create_surface()
298 ps->u.tex.level = surf_tmpl->u.tex.level; in i915_create_surface()
299 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; in i915_create_surface()
300 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; in i915_create_surface()