diff options
author | Marek Olšák <[email protected]> | 2014-03-04 12:42:37 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-03-07 18:07:05 +0100 |
commit | d8fde8ffede9bfc96b9f7071dd4e779540dba61d (patch) | |
tree | 4d2271072c2bf32df7df8bb154b577497c920ac0 /src/gallium/state_trackers/vdpau | |
parent | 780ce576bb1781f027797039693b98253ee4813e (diff) |
gallium: rename R4A4 and A4R4 formats to match their swizzle
Like L4A4.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau')
-rw-r--r-- | src/gallium/state_trackers/vdpau/vdpau_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h index 078f0f9270c..ce6852b586a 100644 --- a/src/gallium/state_trackers/vdpau/vdpau_private.h +++ b/src/gallium/state_trackers/vdpau/vdpau_private.h @@ -209,9 +209,9 @@ FormatIndexedToPipe(VdpRGBAFormat vdpau_format) { switch (vdpau_format) { case VDP_INDEXED_FORMAT_A4I4: - return PIPE_FORMAT_A4R4_UNORM; - case VDP_INDEXED_FORMAT_I4A4: return PIPE_FORMAT_R4A4_UNORM; + case VDP_INDEXED_FORMAT_I4A4: + return PIPE_FORMAT_A4R4_UNORM; case VDP_INDEXED_FORMAT_A8I8: return PIPE_FORMAT_A8R8_UNORM; case VDP_INDEXED_FORMAT_I8A8: |