summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-09-25 15:54:30 +0200
committerDaniel Vetter <[email protected]>2011-10-07 14:31:17 +0200
commitb8f3381f2c8afc469ac48e1a4f9c50ba2438d43b (patch)
tree53fa64ea34a32ac938ff99c93aa92592b98bf6bf
parent8dd523b2dfdcda27a0afc449b169f2c26bf73527 (diff)
i915g: add some obscure sampler formats
4bit palette ftw! Signed-off-by: Daniel Vetter <[email protected]>
-rw-r--r--src/gallium/drivers/i915/i915_reg.h4
1 files changed, 3 insertions, 1 deletions
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 */