mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
It seems the intent was to use `.xyzw` vector component accessors in the kernel whenever `vecSize` is 2, 3, or 4. The condition was wrong (i.e., always true for any value of `vecSize`), causing it to always create a kernel with numeric (`.s0123...`) vector component accessors. The restriction on the use of `.xyzw` for 8 and 16-component vectors has been lifted a while ago (see https://github.com/KhronosGroup/OpenCL-Docs/issues/549) so we do not need this check at all. Also, fix the `vecSize` argument of two calls of `get_order_string` when getting the order string for the "in" kernel argument. Pass `inVecSize` in these cases, not `outVecSize`. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>