mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
Remove virtual padding support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
70cf43fd6e
commit
39c1c4d530
@@ -74,12 +74,8 @@ GMM_STATUS MockGmmResourceInfo::getOffset(GMM_REQ_OFFSET_INFO &reqOffsetInfo) {
|
||||
}
|
||||
|
||||
void MockGmmResourceInfo::computeRowPitch() {
|
||||
if (mockResourceCreateParams.OverridePitch) {
|
||||
rowPitch = mockResourceCreateParams.OverridePitch;
|
||||
} else {
|
||||
rowPitch = static_cast<size_t>(mockResourceCreateParams.BaseWidth64 * (surfaceFormatInfo->ImageElementSizeInBytes));
|
||||
rowPitch = alignUp(rowPitch, 64);
|
||||
}
|
||||
rowPitch = static_cast<size_t>(mockResourceCreateParams.BaseWidth64 * (surfaceFormatInfo->ImageElementSizeInBytes));
|
||||
rowPitch = alignUp(rowPitch, 64);
|
||||
}
|
||||
|
||||
uint32_t MockGmmResourceInfo::getBitsPerPixel() {
|
||||
|
||||
Reference in New Issue
Block a user