projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd523b
)
i915g: add some obscure sampler formats
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Sun, 25 Sep 2011 13:54:30 +0000
(15:54 +0200)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_reg.h
b/src/gallium/drivers/i915/i915_reg.h
index 14e786d0f2a299014e8f5ab17bcc6532deca42e3..e48a942c6fe42f954c51a030ca0c85a9244deed1 100644
(file)
--- 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 */