Lines Matching refs:ptex
198 const struct pipe_resource *ptex, in r600_init_surface() argument
207 util_format_description(ptex->format); in r600_init_surface()
216 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface()
219 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface()
230 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) { in r600_init_surface()
232 assert(ptex->nr_samples <= 1 && in r600_init_surface()
233 ptex->array_size == 1 && in r600_init_surface()
234 ptex->depth0 == 1 && in r600_init_surface()
235 ptex->last_level == 0 && in r600_init_surface()
241 if (ptex->bind & PIPE_BIND_SHARED) in r600_init_surface()
245 if (!(ptex->flags & R600_RESOURCE_FLAG_FORCE_TILING)) in r600_init_surface()
248 r = rscreen->ws->surface_init(rscreen->ws, ptex, flags, bpe, in r600_init_surface()
557 struct pipe_resource *ptex) in r600_texture_destroy() argument
559 struct r600_texture *rtex = (struct r600_texture*)ptex; in r600_texture_destroy()