projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util/rand_xor: add function to seed rand
[mesa.git]
/
src
/
util
/
rand_xor.h
diff --git
a/src/util/rand_xor.h
b/src/util/rand_xor.h
index d5144e98230368e6ba21ddd5556cfc5d7d189e4b..532d549bcda0e9cbff911feedd6e188c02ebb47d 100644
(file)
--- a/
src/util/rand_xor.h
+++ b/
src/util/rand_xor.h
@@
-26,8
+26,12
@@
#define RAND_XOR_H
#include <stdint.h>
#define RAND_XOR_H
#include <stdint.h>
+#include <stdbool.h>
uint64_t
rand_xorshift128plus(uint64_t *seed);
uint64_t
rand_xorshift128plus(uint64_t *seed);
+void
+s_rand_xorshift128plus(uint64_t *seed, bool randomised_seed);
+
#endif /* RAND_XOR_H */
#endif /* RAND_XOR_H */