i915g: add a few more render target formats
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Jun 2011 21:03:00 +0000 (23:03 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Jun 2011 21:05:43 +0000 (23:05 +0200)
Snatched from xvmc.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_reg.h

index 6fe032cdb6eeb071d4bba0d46f9712cbda56b167..14e786d0f2a299014e8f5ab17bcc6532deca42e3 100644 (file)
 #define COLOR_BUF_RGB555               (1<<8)
 #define COLOR_BUF_RGB565               (2<<8)
 #define COLOR_BUF_ARGB8888             (3<<8)
+#define COLOR_BUF_YCRCB_SWAP           (4<<8)
+#define COLOR_BUF_YCRCB_NORMAL         (5<<8)
+#define COLOR_BUF_YCRCB_SWAPUV         (6<<8)
+#define COLOR_BUF_YCRCB_SWAPUVY                (7<<8)
+#define COLOR_BUF_ARGB4444             (8<<8)
+#define COLOR_BUF_ARGB1555             (9<<8)
+#define COLOR_BUF_ARGB2101010          (10<<8)
 #define DEPTH_FRMT_16_FIXED            0
 #define DEPTH_FRMT_16_FLOAT            (1<<2)
 #define DEPTH_FRMT_24_FIXED_8_OTHER    (2<<2)