Lines Matching full:ptex
77 const struct pipe_resource *ptex,
80 surface->npix_x = ptex->width0;
81 surface->npix_y = ptex->height0;
82 surface->npix_z = ptex->depth0;
83 surface->blk_w = util_format_get_blockwidth(ptex->format);
84 surface->blk_h = util_format_get_blockheight(ptex->format);
87 surface->last_level = ptex->last_level;
88 surface->bpe = util_format_get_blocksize(ptex->format);
110 switch (ptex->target) {
123 surface->array_size = ptex->array_size;
127 surface->array_size = ptex->array_size;
136 if (ptex->bind & PIPE_BIND_SCANOUT) {
139 if (util_format_is_depth_and_stencil(ptex->format)) {
220 struct pipe_resource *ptex,
223 struct r600_resource_texture *rtex = (struct r600_resource_texture*)ptex;
245 struct pipe_resource *ptex)
247 struct r600_resource_texture *rtex = (struct r600_resource_texture*)ptex;