Lines Matching refs:ptex
199 const struct pipe_resource *ptex, in r600_init_surface() argument
208 util_format_description(ptex->format); in r600_init_surface()
217 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface()
220 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface()
231 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) { in r600_init_surface()
233 assert(ptex->nr_samples <= 1 && in r600_init_surface()
234 ptex->array_size == 1 && in r600_init_surface()
235 ptex->depth0 == 1 && in r600_init_surface()
236 ptex->last_level == 0 && in r600_init_surface()
242 if (ptex->bind & PIPE_BIND_SHARED) in r600_init_surface()
247 r = rscreen->ws->surface_init(rscreen->ws, ptex, in r600_init_surface()
578 struct pipe_resource *ptex) in r600_texture_destroy() argument
580 struct r600_texture *rtex = (struct r600_texture*)ptex; in r600_texture_destroy()