util/rand_xor: add function to seed rand
[mesa.git] / src / gallium / drivers / radeon / r600_test_dma.c
index 8b4149af53c4c6b33c95a2cc085c59c420c5dddd..3c23b0932947b1e005b8546cba360270001d8d90 100644 (file)
@@ -183,8 +183,7 @@ void r600_test_dma(struct r600_common_screen *rscreen)
        /* the seed for random test parameters */
        srand(0x9b47d95b);
        /* the seed for random pixel data */
-       seed_xorshift128plus[0] = 0x3bffb83978e24f88;
-       seed_xorshift128plus[1] = 0x9238d5d56c71cd35;
+       s_rand_xorshift128plus(seed_xorshift128plus, false);
 
        iterations = 1000000000; /* just kill it when you are bored */
        num_partial_copies = 30;