gallium: remove format aliases
authorChristian König <deathsimple@vodafone.de>
Fri, 2 Mar 2012 12:11:12 +0000 (13:11 +0100)
committerChristian König <deathsimple@vodafone.de>
Thu, 8 Mar 2012 10:37:02 +0000 (11:37 +0100)
They are incomplete and don't make to much sense.

Signed-off-by: Christian König <deathsimple@vodafone.de>
src/gallium/include/pipe/p_format.h
src/gallium/state_trackers/d3d1x/d3d1xstutil/src/dxgi_enums.cpp

index c05629b616e113b0ca595f5312c0643ddd029ae2..c58f39096b5d051303a8e998b0ea33d856a6af6c 100644 (file)
@@ -234,10 +234,6 @@ enum pipe_format {
    PIPE_FORMAT_IYUV                    = 165,  /**< aka I420 */
    PIPE_FORMAT_NV12                    = 166,
    PIPE_FORMAT_NV21                    = 167,
-   PIPE_FORMAT_AYUV                    = PIPE_FORMAT_A8R8G8B8_UNORM,
-   PIPE_FORMAT_VUYA                    = PIPE_FORMAT_B8G8R8A8_UNORM,
-   PIPE_FORMAT_XYUV                    = PIPE_FORMAT_X8R8G8B8_UNORM,
-   PIPE_FORMAT_VUYX                    = PIPE_FORMAT_B8G8R8X8_UNORM,
 
    PIPE_FORMAT_R4A4_UNORM              = 168,
    PIPE_FORMAT_A4R4_UNORM              = 169,
index d6dcae08666673f1028e1d9abd6b5a9cd6eefb57..6802773ce8adb929805c47153971572d59739232 100644 (file)
@@ -131,7 +131,7 @@ pipe_format dxgi_to_pipe_format[DXGI_FORMAT_COUNT] =
        PIPE_FORMAT_NONE, /* PIPE_FORMAT_BC7_TYPELESS */
        PIPE_FORMAT_NONE, /* PIPE_FORMAT_BC7_UNORM */
        PIPE_FORMAT_NONE, /* PIPE_FORMAT_BC7_UNORM_SRGB */
-       PIPE_FORMAT_AYUV,
+       PIPE_FORMAT_A8R8G8B8_UNORM, /* PIPE_FORMAT_AYUV */
        PIPE_FORMAT_NONE, /* PIPE_FORMAT_Y410 */
        PIPE_FORMAT_NONE, /* PIPE_FORMAT_Y416 */
        PIPE_FORMAT_NV12,