From: Daniel Vetter Date: Sun, 25 Sep 2011 13:54:30 +0000 (+0200) Subject: i915g: add some obscure sampler formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8f3381f2c8afc469ac48e1a4f9c50ba2438d43b;p=mesa.git i915g: add some obscure sampler formats 4bit palette ftw! Signed-off-by: Daniel Vetter --- diff --git a/src/gallium/drivers/i915/i915_reg.h b/src/gallium/drivers/i915/i915_reg.h index 14e786d0f2a..e48a942c6fe 100644 --- a/src/gallium/drivers/i915/i915_reg.h +++ b/src/gallium/drivers/i915/i915_reg.h @@ -720,9 +720,11 @@ #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 */