projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e99e6d
)
nouveau: nv30: use r5g6b5 as z16 format
author
Patrice Mandin
<patmandin@gmail.com>
Fri, 23 Oct 2009 16:40:13 +0000
(18:40 +0200)
committer
Patrice Mandin
<patmandin@gmail.com>
Fri, 23 Oct 2009 16:40:13 +0000
(18:40 +0200)
src/gallium/drivers/nv30/nv30_fragtex.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_fragtex.c
b/src/gallium/drivers/nv30/nv30_fragtex.c
index f5f17d40714f8def1b7f22aca2cc570dae44af0d..3dd636f4ee249a747f95dc4da38cd913a6e16758 100644
(file)
--- 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),