Skip to content

Commit

Permalink
[VP] Fix L0 FC Intermediate Surface Rect not Align
Browse files Browse the repository at this point in the history
fix 3plane intermeidate surface rect not align
  • Loading branch information
peiyigu-intel authored and intel-mediadev committed Sep 24, 2024
1 parent 1b830fb commit e45a293
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,10 @@ MOS_STATUS VpResourceManager::AssignFcResources(VP_EXECUTE_CAPS &caps, std::vect
false,
IsDeferredResourceDestroyNeeded(),
MOS_HW_RESOURCE_USAGE_VP_INTERNAL_READ_WRITE_RENDER));

m_fcIntermediaSurfaceInput[i]->rcSrc = inputSurfaces[i]->rcSrc;
m_fcIntermediaSurfaceInput[i]->rcDst = inputSurfaces[i]->rcDst;
m_fcIntermediaSurfaceInput[i]->SampleType = inputSurfaces[i]->SampleType;
surfSetting.surfGroup.insert(std::make_pair((SurfaceType)(SurfaceTypeFcIntermediaInput + i), m_fcIntermediaSurfaceInput[i]));
}
}
Expand Down

0 comments on commit e45a293

Please sign in to comment.