Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2316>
* to the public domain.
*/
uint64_t
-rand_xorshift128plus(uint64_t *seed)
+rand_xorshift128plus(uint64_t seed[2])
{
uint64_t *s = seed;
}
void
-s_rand_xorshift128plus(uint64_t *seed, bool randomised_seed)
+s_rand_xorshift128plus(uint64_t seed[2], bool randomised_seed)
{
if (!randomised_seed)
goto fixed_seed;
#include <stdbool.h>
uint64_t
-rand_xorshift128plus(uint64_t *seed);
+rand_xorshift128plus(uint64_t seed[2]);
void
-s_rand_xorshift128plus(uint64_t *seed, bool randomised_seed);
+s_rand_xorshift128plus(uint64_t seed[2], bool randomised_seed);
#endif /* RAND_XOR_H */