Lines Matching refs:footprint
334 D3D12_SUBRESOURCE_FOOTPRINT *footprint = &placed_footprint.Footprint; in convert_planar_resource() local
337 assert(plane_res->base.b.width0 == footprint->Width); in convert_planar_resource()
338 assert(plane_res->base.b.height0 == footprint->Height); in convert_planar_resource()
339 assert(plane_res->base.b.depth0 == footprint->Depth); in convert_planar_resource()
463 D3D12_SUBRESOURCE_FOOTPRINT *footprint = &placed_footprint.Footprint; in d3d12_resource_from_handle() local
485 footprint->Format = incoming_res_desc.Format; in d3d12_resource_from_handle()
486 footprint->Width = incoming_res_desc.Width; in d3d12_resource_from_handle()
487 footprint->Height = incoming_res_desc.Height; in d3d12_resource_from_handle()
488 footprint->Depth = incoming_res_desc.DepthOrArraySize; in d3d12_resource_from_handle()
491 if (footprint->Width > UINT32_MAX || in d3d12_resource_from_handle()
492 footprint->Height > UINT16_MAX) { in d3d12_resource_from_handle()
520 res->base.b.depth0 = footprint->Depth; in d3d12_resource_from_handle()
552 footprint->Width != templ->width0 || in d3d12_resource_from_handle()
553 footprint->Height != templ->height0 || in d3d12_resource_from_handle()
554 footprint->Depth != templ->depth0 || in d3d12_resource_from_handle()
563 footprint->Width, templ->width0, in d3d12_resource_from_handle()
564 footprint->Height, templ->height0, in d3d12_resource_from_handle()
565 footprint->Depth, templ->depth0, in d3d12_resource_from_handle()
572 if ((footprint->Format != d3d12_get_format(templ->format) && in d3d12_resource_from_handle()
573 footprint->Format != d3d12_get_typeless_format(templ->format)) || in d3d12_resource_from_handle()
581 footprint->Format, in d3d12_resource_from_handle()
978 D3D12_PLACED_SUBRESOURCE_FOOTPRINT footprint; in fill_buffer_location() local
985 dev->GetCopyableFootprints(&descr, sub_resid, 1, 0, &footprint, nullptr, nullptr, nullptr); in fill_buffer_location()
989 buf_loc.PlacedFootprint = footprint; in fill_buffer_location()