channels | fmt | resource dst_sel programming (swizzle) | inverse dest sel for border color | ||||||
dst_sel_x | dst_sel_y | dst_sel_z | dst_sel_w | dst_sel_x | dst_sel_y | dst_sel_z | dst_sel_w | ||
1 | A | 0 or 1 | 0 or 1 | 0 or 1 | x | w | dc | dc | dc |
L | x | x | x | 0 or 1 | x | dc | dc | dc | |
I | x | x | x | x | x | dc | dc | dc | |
R | x | 0 or 1 | 0 or 1 | 0 or 1 | x | dc | dc | dc | |
2 | LA | x | x | x | y | x | w | dc | dc |
AL | y | y | y | x | w | x | dc | dc | |
RA | x | 0 or 1 | 0 or 1 | y | w | x | dc | dc | |
RG | x | y | 0 or 1 | 0 or 1 | x | y | dc | dc | |
GR | y | x | 0 or 1 | 0 or 1 | y | x | dc | dc | |
3 or 4 | BGRX | z | y | x | 0 or 1 | z | y | x | dc |
RGBX | x | y | z | 0 or 1 | x | y | z | dc | |
4 | RGBA | x | y | z | w | x | y | z | w |
BGRA | z | y | x | w | z | y | x | w | |
XRGB | y | z | w | 0 or 1 | dc | x | y | z | |
ARGB | y | z | w | x | w | x | y | z | |
XBGR | w | z | y | 0 or 1 | dc | z | y | x | |
ABGR | w | z | y | x | w | z | y | x | |
* dc = don't care | |||||||||