Lines Matching refs:rtex
271 struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex;
273 unsigned pixsize = util_format_get_blocksize(rtex->real_format);
280 orig->npix0_x = rtex->surface.level[0].npix_x;
281 orig->npix0_y = rtex->surface.level[0].npix_y;
282 orig->npix_x = rtex->surface.level[level].npix_x;
283 orig->npix_y = rtex->surface.level[level].npix_y;
296 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x);
297 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y);
298 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x);
299 rtex->surface.level[level].npix_y = util_format_get_nblocksy(orig->format, orig->npix_y);
306 struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex;
312 rtex->surface.level[0].npix_x = orig->npix0_x;
313 rtex->surface.level[0].npix_y = orig->npix0_y;
314 rtex->surface.level[level].npix_x = orig->npix_x;
315 rtex->surface.level[level].npix_y = orig->npix_y;