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 14e786d0f2a299014e8f5ab17bcc6532deca42e3..e48a942c6fe42f954c51a030ca0c85a9244deed1 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 */