SWDEV-86035 - switch PAL interface to 656 version

Change-Id: I162ba6e49aa866c013f37a114df5bb7ea3e08874


[ROCm/clr commit: 70f06c79fa]
This commit is contained in:
German Andryeyev
2021-02-12 13:08:59 -05:00
parent 705311fb14
commit 64360211fe
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1135,7 +1135,7 @@ bool Image::ValidateMemory(Resource::MemoryType memType) {
!copyImageBuffer_->create(Resource::Local, nullptr, ForceLinear)) {
return false;
}
constexpr Pal::SubresId ImgSubresId = {Pal::ImageAspect::Color, 0, 0};
constexpr Pal::SubresId ImgSubresId = {0, 0, 0};
Pal::SubresLayout layout;
copyImageBuffer_->image()->GetSubresourceLayout(ImgSubresId, &layout);
// Destroy temporary linear image, since it was allocated for the pitch validation only