diff options
author | Patrice Mandin <patmandin@gmail.com> | 2009-10-23 18:40:13 +0200 |
---|---|---|
committer | Patrice Mandin <patmandin@gmail.com> | 2009-10-23 18:40:13 +0200 |
commit | c84a05676497ff7263f3ea8203b868071c4f678f (patch) | |
tree | fb5b14a5750c11f2ea9eea44863da42a99ff5b5c /src/gallium/drivers/nv30 | |
parent | 6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74 (diff) |
nouveau: nv30: use r5g6b5 as z16 format
Diffstat (limited to 'src/gallium/drivers/nv30')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_fragtex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragtex.c b/src/gallium/drivers/nv30/nv30_fragtex.c index f5f17d4071..3dd636f4ee 100644 --- a/src/gallium/drivers/nv30/nv30_fragtex.c +++ b/src/gallium/drivers/nv30/nv30_fragtex.c @@ -29,7 +29,7 @@ nv30_texture_formats[] = { _(A8_UNORM , L8 , ZERO, ZERO, ZERO, S1, X, X, X, X), _(I8_UNORM , L8 , S1, S1, S1, S1, X, X, X, X), _(A8L8_UNORM , A8L8 , S1, S1, S1, S1, X, X, X, Y), -// _(Z16_UNORM , Z16 , S1, S1, S1, ONE, X, X, X, X), + _(Z16_UNORM , R5G6B5 , S1, S1, S1, ONE, X, X, X, X), _(Z24S8_UNORM , A8R8G8B8, S1, S1, S1, ONE, X, X, X, X), _(DXT1_RGB , DXT1 , S1, S1, S1, ONE, X, Y, Z, W), _(DXT1_RGBA , DXT1 , S1, S1, S1, S1, X, Y, Z, W), |