Searched refs:res_range (Results 1 – 1 of 1) sorted by relevance
309 D3D12_RANGE res_range = { 0, (SIZE_T)size }; in create_upload_buffer_with_data() local310 if (FAILED(upload_res->Map(0, &res_range, (void **)&ptr))) in create_upload_buffer_with_data()314 upload_res->Unmap(0, &res_range); in create_upload_buffer_with_data()345 D3D12_RANGE res_range = { 0, size }; in get_buffer_data() local346 if (FAILED(readback_res->Map(0, &res_range, &ptr))) in get_buffer_data()