Lines Matching refs:ptex
222 const struct pipe_resource *ptex, in r600_init_surface() argument
232 util_format_description(ptex->format); in r600_init_surface()
241 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface()
244 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface()
270 (ptex->flags & R600_RESOURCE_FLAG_DISABLE_DCC || in r600_init_surface()
271 ptex->format == PIPE_FORMAT_R9G9B9E5_FLOAT || in r600_init_surface()
273 (ptex->nr_samples >= 2 && in r600_init_surface()
274 (!sscreen->dcc_msaa_allowed || ptex->array_size > 1)))) in r600_init_surface()
277 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) { in r600_init_surface()
279 assert(ptex->nr_samples <= 1 && in r600_init_surface()
280 ptex->array_size == 1 && in r600_init_surface()
281 ptex->depth0 == 1 && in r600_init_surface()
282 ptex->last_level == 0 && in r600_init_surface()
288 if (ptex->bind & PIPE_BIND_SHARED) in r600_init_surface()
292 if (!(ptex->flags & R600_RESOURCE_FLAG_FORCE_TILING)) in r600_init_surface()
295 r = sscreen->ws->surface_init(sscreen->ws, ptex, flags, bpe, in r600_init_surface()
815 struct pipe_resource *ptex) in r600_texture_destroy() argument
817 struct r600_texture *rtex = (struct r600_texture*)ptex; in r600_texture_destroy()