i915g: add some obscure sampler formats
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 25 Sep 2011 13:54:30 +0000 (15:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Oct 2011 12:31:17 +0000 (14:31 +0200)
4bit palette ftw!

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

index 14e786d..e48a942 100644 (file)
 #define    MAPSURF_4BIT_INDEXED                   (7<<7)
 #define MS3_MT_FORMAT_MASK         (0x7 << 3)
 #define MS3_MT_FORMAT_SHIFT        3
-#define    MT_4BIT_IDX_ARGB8888                   (7<<3)       /* SURFACE_4BIT_INDEXED */
+#define    MT_4BIT_P4                     (7<<3)       /* SURFACE_4BIT_INDEXED */
 #define    MT_8BIT_I8                     (0<<3)       /* SURFACE_8BIT */
 #define    MT_8BIT_L8                     (1<<3)
+#define    MT_8BIT_A4P4                           (2<<3)
+#define    MT_8BIT_P4A4                           (3<<3)
 #define    MT_8BIT_A8                     (4<<3)
 #define    MT_8BIT_MONO8                  (5<<3)
 #define    MT_16BIT_RGB565                (0<<3)       /* SURFACE_16BIT */