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