[Mesa-dev] [PATCH 1/3] nv50,nvc0: add ability to texture S8_UINT
Ilia Mirkin
imirkin at alum.mit.edu
Sat May 3 02:25:08 PDT 2014
This will become useful when ARB_texture_stencil8 becomes supported by
mesa.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nv50/nv50_formats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
index fa93ce8..52dd00a 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_formats.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
@@ -187,6 +187,7 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] =
ZSB(Z32_FLOAT_S8X24_UINT, Z32_S8_X24_FLOAT, C0, C0, C0, xx, FLOAT,
Z32_S8_X24, TZ),
ZSB(X32_S8X24_UINT, NONE, C1, C1, C1, xx, FLOAT, Z32_S8_X24, T),
+ I1B(S8_UINT, NONE, C0, xx, xx, xx, UINT, 8, T),
F3B(B5G6R5_UNORM, B5G6R5_UNORM, C2, C1, C0, xx, UNORM, 5_6_5, T),
C4B(B5G5R5A1_UNORM, BGR5_A1_UNORM, C2, C1, C0, C3, UNORM, 5_5_5_1, TB),
--
1.8.3.2
More information about the mesa-dev
mailing list