Quantcast
Channel: Aras' website
Viewing all articles
Browse latest Browse all 259

Amazing Optimizers, or Compile Time Tests

$
0
0
I wrote some tests to verify sorting/batching behavior in rendering code, and they were producing different results on Windows (MSVC) vs Mac (clang). The tests were creating a “random fake scene” with a random number generator, and at first it sounded like our “get random normalized float” function was returning slightly different results between platforms (which would be super weird, as in how come no one noticed this before?!). So I started digging into random number generator, and the unit tests it has.

Viewing all articles
Browse latest Browse all 259

Trending Articles