File tree Expand file tree Collapse file tree 2 files changed +61
-67
lines changed
include/nbl/video/utilities Expand file tree Collapse file tree 2 files changed +61
-67
lines changed Original file line number Diff line number Diff line change @@ -1010,7 +1010,8 @@ class NBL_API ImageRegionIterator
1010
1010
IPhysicalDevice::SQueueFamilyProperties queueFamilyProps,
1011
1011
asset::ICPUBuffer const * srcBuffer,
1012
1012
asset::E_FORMAT srcImageFormat,
1013
- video::IGPUImage* const dstImage
1013
+ video::IGPUImage* const dstImage,
1014
+ size_t optimalRowPitchAlignment
1014
1015
);
1015
1016
1016
1017
// ! Memory you need to allocate to transfer the remaining regions in one submit.
@@ -1037,9 +1038,10 @@ class NBL_API ImageRegionIterator
1037
1038
1038
1039
// Mock CPU Images used to copy cpu buffer to staging buffer
1039
1040
std::vector<core::smart_refctd_ptr<asset::ICPUImage>> imageFilterInCPUImages;
1040
- core::smart_refctd_dynamic_array<asset::ICPUImage::SBufferCopy> outCPUImageRegions; // Because this needs to update before each upload
1041
+ core::smart_refctd_dynamic_array<asset::ICPUImage::SBufferCopy> outCPUImageRegions; // needs to be updated before each upload
1041
1042
std::vector<core::smart_refctd_ptr<asset::ICPUImage>> imageFilterOutCPUImages;
1042
1043
1044
+ uint32_t optimalRowPitchAlignment = 1u ;
1043
1045
bool canTransferMipLevelsPartially = false ;
1044
1046
asset::VkExtent3D minImageTransferGranularity = {};
1045
1047
uint32_t bufferOffsetAlignment = 1u ;
You can’t perform that action at this time.
0 commit comments