From cdb68bad00116a6c376f6c2e03eef5d47c827a4d Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 15 Jun 2022 17:31:51 +0100 Subject: [PATCH] --- openpower/sv/mv.swizzle.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index 268299af1..3e4cbefb2 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -22,10 +22,11 @@ swizzle as well as constants 1/1.0 and 0/0.0. An extremely important aspect of 3D GPU workloads is that the source and destination subvector lengths may be *different*. A vector of -contiguous array of vec3 may only have 2 elements swizzle-copied to +contiguous array of vec3 (XYZ) may only have 2 elements (ZY) +swizzle-copied to a contiguous array of vec2. A contiguous array of vec2 sources -may have multiple of each vec2 elements copied to a contiguous -vec4 array. For this reason +may have multiple of each vec2 elements (XY) copied to a contiguous +vec4 array (YYXX or XYXX). For this reason Swizzle Moves support independent subvector lengths for both source and destination. -- 2.30.2