diff options
author | Zack Rusin <zackr@vmware.com> | 2009-10-23 09:35:36 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-10-23 19:39:16 -0400 |
commit | b17c885a8aa88ef06f384330d59aeb23b73350bb (patch) | |
tree | 7e7087ffc6b8290d6f35b81c534ee0640c7d75dd /src/gallium/state_trackers/xorg/xorg_exa_tgsi.h | |
parent | 49d402e275cdaf46de8db5a475dfe00509141195 (diff) |
st/xorg: fix text with component alpha rendering
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa_tgsi.h')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa_tgsi.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.h b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.h index c290d44e8f..0ea44fa137 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.h +++ b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.h @@ -24,7 +24,12 @@ enum xorg_fs_traits { FS_FILL = (FS_SOLID_FILL | FS_LINGRAD_FILL | FS_RADGRAD_FILL), - FS_COMPONENT_ALPHA = 1 << 5 + /* src.rgba * mask.rgba */ + FS_CA_FULL = 1 << 5, + /* src.aaaa * mask.rgba */ + FS_CA_SRCALPHA = 1 << 6, + FS_COMPONENT_ALPHA = (FS_CA_FULL | + FS_CA_SRCALPHA) }; struct xorg_shader { |