Home
last modified time | relevance | path

Searched refs:templ_desc (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c1572 const struct util_format_description *templ_desc in r600_create_surface() local
1575 assert(tex_desc->block.bits == templ_desc->block.bits); in r600_create_surface()
1579 if (tex_desc->block.width != templ_desc->block.width || in r600_create_surface()
1580 tex_desc->block.height != templ_desc->block.height) { in r600_create_surface()
1584 width = nblks_x * templ_desc->block.width; in r600_create_surface()
1585 height = nblks_y * templ_desc->block.height; in r600_create_surface()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c1940 const struct util_format_description *templ_desc = util_format_description(templ->format); in si_create_surface() local
1942 assert(tex_desc->block.bits == templ_desc->block.bits); in si_create_surface()
1946 if (tex_desc->block.width != templ_desc->block.width || in si_create_surface()
1947 tex_desc->block.height != templ_desc->block.height) { in si_create_surface()
1951 width = nblks_x * templ_desc->block.width; in si_create_surface()
1952 height = nblks_y * templ_desc->block.height; in si_create_surface()