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
10101010 IPhysicalDevice::SQueueFamilyProperties queueFamilyProps,
10111011 asset::ICPUBuffer const * srcBuffer,
10121012 asset::E_FORMAT srcImageFormat,
1013- video::IGPUImage* const dstImage
1013+ video::IGPUImage* const dstImage,
1014+ size_t optimalRowPitchAlignment
10141015 );
10151016
10161017 // ! Memory you need to allocate to transfer the remaining regions in one submit.
@@ -1037,9 +1038,10 @@ class NBL_API ImageRegionIterator
10371038
10381039 // Mock CPU Images used to copy cpu buffer to staging buffer
10391040 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
10411042 std::vector<core::smart_refctd_ptr<asset::ICPUImage>> imageFilterOutCPUImages;
10421043
1044+ uint32_t optimalRowPitchAlignment = 1u ;
10431045 bool canTransferMipLevelsPartially = false ;
10441046 asset::VkExtent3D minImageTransferGranularity = {};
10451047 uint32_t bufferOffsetAlignment = 1u ;
You can’t perform that action at this time.
0 commit comments