mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 02:18:05 +08:00
Fix image from subbuffer offsets
- change 32 bit offset to size_t to account for offsets bigger than 4 GB in SurfaceOffsets - change ImageInfo offset to size_t type - fix hostptr offseting in subbuffer creation - null hostptr shouldn't be offseted Change-Id: I18a5b8eacbd8c9e40c1f2effe5ded4fa8b453395
This commit is contained in:
committed by
sys_ocldev
parent
95e5aba86a
commit
d019638119
@@ -218,7 +218,7 @@ struct ImageInfo {
|
||||
size_t rowPitch;
|
||||
size_t slicePitch;
|
||||
uint32_t qPitch;
|
||||
uint32_t offset;
|
||||
size_t offset;
|
||||
uint32_t xOffset;
|
||||
uint32_t yOffset;
|
||||
uint32_t yOffsetForUVPlane;
|
||||
|
||||
Reference in New Issue
Block a user