summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_fragtex.c
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2009-10-24 17:36:48 -0400
committerYounes Manton <[email protected]>2009-10-31 09:42:49 -0400
commit91232b7004d7a9fbf4f99bb9ec4e5eea8e1c6eef (patch)
tree68cb0096dd7c8953d78ee42bfb1e175661f766b1 /src/gallium/drivers/nv40/nv40_fragtex.c
parent9831e1f76cd020e1cde2b13e03149415319a8135 (diff)
nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_fragtex.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_fragtex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_fragtex.c b/src/gallium/drivers/nv40/nv40_fragtex.c
index f6cdf31dfee..e2ec57564d1 100644
--- a/src/gallium/drivers/nv40/nv40_fragtex.c
+++ b/src/gallium/drivers/nv40/nv40_fragtex.c
@@ -23,6 +23,7 @@ struct nv40_texture_format {
static struct nv40_texture_format
nv40_texture_formats[] = {
+ _(X8R8G8B8_UNORM, A8R8G8B8, S1, S1, S1, ONE, X, Y, Z, W, 0, 0, 0, 0),
_(A8R8G8B8_UNORM, A8R8G8B8, S1, S1, S1, S1, X, Y, Z, W, 0, 0, 0, 0),
_(A1R5G5B5_UNORM, A1R5G5B5, S1, S1, S1, S1, X, Y, Z, W, 0, 0, 0, 0),
_(A4R4G4B4_UNORM, A4R4G4B4, S1, S1, S1, S1, X, Y, Z, W, 0, 0, 0, 0),