Searched refs:templ_desc (Results 1 – 2 of 2) sorted by relevance
1555 const struct util_format_description *templ_desc in r600_create_surface() local1558 assert(tex_desc->block.bits == templ_desc->block.bits); in r600_create_surface()1562 if (tex_desc->block.width != templ_desc->block.width || in r600_create_surface()1563 tex_desc->block.height != templ_desc->block.height) { in r600_create_surface()1567 width = nblks_x * templ_desc->block.width; in r600_create_surface()1568 height = nblks_y * templ_desc->block.height; in r600_create_surface()
2096 const struct util_format_description *templ_desc = util_format_description(templ->format); in si_create_surface() local2098 assert(tex_desc->block.bits == templ_desc->block.bits); in si_create_surface()2102 if (tex_desc->block.width != templ_desc->block.width || in si_create_surface()2103 tex_desc->block.height != templ_desc->block.height) { in si_create_surface()2107 width = nblks_x * templ_desc->block.width; in si_create_surface()2108 height = nblks_y * templ_desc->block.height; in si_create_surface()