Fix Windows 32bit build

Change-Id: Iab4a9a3f15c47d2c13d09ad098c52b21e078fd0a


[ROCm/clr commit: 318eecfc87]
이 커밋은 다음에 포함됨:
Jason Tang
2021-01-11 18:14:22 -05:00
커밋한 사람 Jason Tang
부모 4098e012ed
커밋 ae7ec74669
+1 -1
파일 보기
@@ -573,7 +573,7 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
// Clamp max image buffer size to the maximum buffer size we can create.
// Image format has max 4 channels per pixel, 1 DWORD per channel.
constexpr size_t kPixelRgbaSize = 4 * sizeof(int);
info_.imageMaxBufferSize_ = std::min(MaxImageBufferSize,
info_.imageMaxBufferSize_ = std::min<size_t>(MaxImageBufferSize,
info_.maxMemAllocSize_ / kPixelRgbaSize);
info_.image1DMaxWidth_ = maxTextureSize;
info_.imageMaxArraySize_ = MaxImageArraySize;