You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CBasicImageFilterCommon::executePerRegion(std::execution::seq, image, executePerTexelOrBlock, regions, clipFunctor); // fire the hasher for a layer, note we forcing seq policy because texels/blocks cannot be handled with par policies when we hash them
253
244
254
245
blake3_hasher_finalize(hasher, reinterpret_cast<uint8_t*>(hash), sizeof(CState::hash_t)); // finalize hash for layer + put it to heap for given mip level
@@ -292,8 +283,8 @@ class CFlattenRegionsStreamHashImageFilter : public CMatchedSizeInOutImageFilter
292
283
293
284
structScratchMap
294
285
{
295
-
asset::SBufferRange<asset::ICPUBuffer> hashes; // hashes, single hash is obtained from given miplevel & layer, full hash for an image is a hash of this hash buffer
296
-
asset::SBufferRange<asset::ICPUBuffer> hashers; // hashers, used to produce a hash
286
+
std::span<CState::hash_t> hashes; // hashes, single hash is obtained from given miplevel & layer, full hash for an image is a hash of this hash buffer
287
+
std::span<blake3_hasher> hashers; // hashers, used to produce a hash
297
288
asset::SBufferRange<asset::ICPUBuffer> flatten; // tightly packed texels from input, no memory gaps
0 commit comments