We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7240068 commit e323d27Copy full SHA for e323d27
include/nbl/asset/filters/CBasicImageFilterCommon.h
@@ -278,7 +278,7 @@ class NBL_API CBasicImageFilterCommon
278
// compute new offset
279
{
280
const auto strides = referenceRegion->getByteStrides(blockInfo);
281
- const core::vector3du32_SIMD offsetInOffset = offset-resultOffset;
+ const core::vector3du32_SIMD offsetInOffset = blockInfo.convertTexelsToBlocks(offset-resultOffset);
282
newRegion.bufferOffset += referenceRegion->getLocalByteOffset(offsetInOffset,strides);
283
}
284
0 commit comments