diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-02-23 11:22:03 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-02-23 14:08:57 +0100 |
commit | 21236cab486012ccad128ab309fe6198983ee216 (patch) | |
tree | f516a5e58c15fc4abada4e3b5c6e473f38c37691 /tests/util | |
parent | 27bad238d6db7657e818ecef5578c9eae08ad2e4 (diff) |
util: fix the order of parameters in piglit_alloc_aligned
This fixes AMD_pinned_memory tests.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'tests/util')
-rw-r--r-- | tests/util/piglit-util.c | 2 | ||||
-rwxr-xr-x | tests/util/piglit-util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/util/piglit-util.c b/tests/util/piglit-util.c index 4c5e3895a..b09462552 100644 --- a/tests/util/piglit-util.c +++ b/tests/util/piglit-util.c @@ -825,7 +825,7 @@ piglit_get_page_size(void) void * -piglit_alloc_aligned(size_t size, size_t alignment) +piglit_alloc_aligned(size_t alignment, size_t size) { #if defined(_WIN32) return _aligned_malloc(size, alignment); diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h index f6a187c9f..c6e72a5f4 100755 --- a/tests/util/piglit-util.h +++ b/tests/util/piglit-util.h @@ -349,7 +349,7 @@ size_t piglit_get_page_size(void); void * -piglit_alloc_aligned(size_t size, size_t alignment); +piglit_alloc_aligned(size_t alignment, size_t size); void piglit_free_aligned(void *p); |