MCPcopy Create free account
hub / github.com/BinomialLLC/basis_universal / hash52

Function hash52

encoder/3rdparty/android_astc_decomp.cpp:1596–1603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1594}
1595
1596inline deUint32 hash52 (deUint32 v)
1597{
1598 deUint32 p = v;
1599 p ^= p >> 15; p -= p << 17; p += p << 7; p += p << 4;
1600 p ^= p >> 5; p += p << 16; p ^= p >> 7; p ^= p >> 3;
1601 p ^= p << 6; p ^= p >> 17;
1602 return p;
1603}
1604
1605int computeTexelPartition (deUint32 seedIn, deUint32 xIn, deUint32 yIn, deUint32 zIn, int numPartitions, bool smallBlock)
1606{

Callers 1

computeTexelPartitionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected