From 103fdf04a1c1a049af386efff791e2423b70662d Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 9 Aug 2018 11:00:08 +0200 Subject: [PATCH] Fixed a invalid scalar datatype return value in hc_bytealign() where it should be a vector datatype return value --- OpenCL/inc_types.cl | 2 +- docs/changes.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenCL/inc_types.cl b/OpenCL/inc_types.cl index 75a8bd618..01b5257ac 100644 --- a/OpenCL/inc_types.cl +++ b/OpenCL/inc_types.cl @@ -361,7 +361,7 @@ DECLSPEC u32 hc_bfe_S (const u32 a, const u32 b, const u32 c) return amd_bfe (a, b, c); } -DECLSPEC u32 hc_bytealign (const u32x a, const u32x b, const u32x c) +DECLSPEC u32x hc_bytealign (const u32x a, const u32x b, const u32x c) { return amd_bytealign (a, b, c); } diff --git a/docs/changes.txt b/docs/changes.txt index 4a5700e20..01e58ea97 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,5 +1,11 @@ * changes v4.2.1 -> xxx +## +## Bugs +## + +- Fixed a invalid scalar datatype return value in hc_bytealign() where it should be a vector datatype return value + * changes v4.2.0 -> v4.2.1 ##