util: move rand_xorshift128plus() to utils
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 21 Mar 2017 23:47:05 +0000 (10:47 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 22 Mar 2017 21:16:29 +0000 (08:16 +1100)
commit53660c23662edb829e6bfd54bcdc0df4688ec62b
tree88f3f160cc56b99c2cd5cb034fe0bb64b9a97472
parente11049f2c367192dfb1540855f6571a5e29b77ec
util: move rand_xorshift128plus() to utils

V2: pass the seed to rand_xorshift128plus() so that we can isolate
    its uses.

Reviewed-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_test_dma.c
src/util/Makefile.sources
src/util/rand_xor.c [new file with mode: 0644]
src/util/rand_xor.h [new file with mode: 0644]