* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
void LogicDataSnapshot::get_subsampled_edges(
std::vector<EdgePair> &edges,
void LogicDataSnapshot::get_subsampled_edges(
std::vector<EdgePair> &edges,
- const int64_t block_length = (int64_t)max(min_length, 1.0f);
- const int min_level = max((int)floorf(logf(min_length) /
+ const uint64_t block_length = (uint64_t)max(min_length, 1.0f);
+ const unsigned int min_level = max((int)floorf(logf(min_length) /
LogMipMapScaleFactor) - 1, 0);
const uint64_t sig_mask = 1ULL << sig_index;
LogMipMapScaleFactor) - 1, 0);
const uint64_t sig_mask = 1ULL << sig_index;
const uint64_t final_index = min(end,
pow2_ceil(index, MipMapScalePower));
const uint64_t final_index = min(end,
pow2_ceil(index, MipMapScalePower));