diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-17 22:27:45 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-18 12:49:41 +0100 |
commit | dcf9b5ae1889926007cf8a0efd127e9df3c909de (patch) | |
tree | a2788c2cff723b3dcb6587dc022596809c5038b0 /src/sna/gen6_render.c | |
parent | 97b443f589fb62ba060f09a371be273549f524d0 (diff) |
intel: Compile fixes for base install of SLED11.sp3
Highlights of that distribution include xorg-xserver-1.6.5, kernel
3.0.76 and gcc-4.3.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r-- | src/sna/gen6_render.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index 70821f72..1f15091f 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -258,10 +258,12 @@ static uint32_t gen6_get_card_format(PictFormat format) return GEN6_SURFACEFORMAT_R8G8B8A8_UNORM; case PICT_x8b8g8r8: return GEN6_SURFACEFORMAT_R8G8B8X8_UNORM; +#ifdef PICT_a2r10g10b10 case PICT_a2r10g10b10: return GEN6_SURFACEFORMAT_B10G10R10A2_UNORM; case PICT_x2r10g10b10: return GEN6_SURFACEFORMAT_B10G10R10X2_UNORM; +#endif case PICT_r8g8b8: return GEN6_SURFACEFORMAT_R8G8B8_UNORM; case PICT_r5g6b5: @@ -286,9 +288,11 @@ static uint32_t gen6_get_dest_format(PictFormat format) case PICT_a8b8g8r8: case PICT_x8b8g8r8: return GEN6_SURFACEFORMAT_R8G8B8A8_UNORM; +#ifdef PICT_a2r10g10b10 case PICT_a2r10g10b10: case PICT_x2r10g10b10: return GEN6_SURFACEFORMAT_B10G10R10A2_UNORM; +#endif case PICT_r5g6b5: return GEN6_SURFACEFORMAT_B5G6R5_UNORM; case PICT_x1r5g5b5: |