Searched refs:buf_loc (Results 1 – 1 of 1) sorted by relevance
374 D3D12_TEXTURE_COPY_LOCATION buf_loc = {0}; in fill_buffer_location() local383 buf_loc.Type = D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT; in fill_buffer_location()384 buf_loc.pResource = d3d12_resource_underlying(staging_res, &offset); in fill_buffer_location()385 buf_loc.PlacedFootprint = footprint; in fill_buffer_location()386 buf_loc.PlacedFootprint.Offset += offset; in fill_buffer_location()388 buf_loc.PlacedFootprint.Footprint.Width = ALIGN(trans->base.box.width, in fill_buffer_location()390 buf_loc.PlacedFootprint.Footprint.Height = ALIGN(trans->base.box.height, in fill_buffer_location()392 buf_loc.PlacedFootprint.Footprint.Depth = ALIGN(depth, in fill_buffer_location()395 buf_loc.PlacedFootprint.Footprint.RowPitch = trans->base.stride; in fill_buffer_location()397 return buf_loc; in fill_buffer_location()