diff options
author | Eric Engestrom <[email protected]> | 2019-10-13 08:52:59 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-16 12:05:37 +0000 |
commit | f50f26325f8df7e076a0ffd2196eab1c36ff07ae (patch) | |
tree | 219295648e6343af6b9f015ae914281f2fba632f /src/util/rand_xor.h | |
parent | 576bff5c73ff217b15900982640dbf8f184569d5 (diff) |
util/rand_xor: make it clear that {,s_}rand_xorshift128plus take *exactly 2* uint64_t
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emmanuel Gil Peyrot <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2316>
Diffstat (limited to 'src/util/rand_xor.h')
-rw-r--r-- | src/util/rand_xor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/rand_xor.h b/src/util/rand_xor.h index 532d549bcda..b55598f228a 100644 --- a/src/util/rand_xor.h +++ b/src/util/rand_xor.h @@ -29,9 +29,9 @@ #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 */ |