Searched refs:templ_desc (Results 1 – 2 of 2) sorted by relevance
1559 const struct util_format_description *templ_desc in r600_create_surface() local1562 assert(tex_desc->block.bits == templ_desc->block.bits); in r600_create_surface()1566 if (tex_desc->block.width != templ_desc->block.width || in r600_create_surface()1567 tex_desc->block.height != templ_desc->block.height) { in r600_create_surface()1571 width = nblks_x * templ_desc->block.width; in r600_create_surface()1572 height = nblks_y * templ_desc->block.height; in r600_create_surface()
2033 const struct util_format_description *templ_desc = util_format_description(templ->format); in si_create_surface() local2035 assert(tex_desc->block.bits == templ_desc->block.bits); in si_create_surface()2039 if (tex_desc->block.width != templ_desc->block.width || in si_create_surface()2040 tex_desc->block.height != templ_desc->block.height) { in si_create_surface()2044 width = nblks_x * templ_desc->block.width; in si_create_surface()2045 height = nblks_y * templ_desc->block.height; in si_create_surface()