projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc8c717
)
r300: add missing texture format
author
Maciej Cencora
<m.cencora@gmail.com>
Tue, 5 May 2009 12:45:51 +0000
(14:45 +0200)
committer
Alex Deucher
<alexdeucher@gmail.com>
Fri, 8 May 2009 00:15:45 +0000
(20:15 -0400)
Fixes piglit/texdepth
src/mesa/drivers/dri/r300/r300_texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_texstate.c
b/src/mesa/drivers/dri/r300/r300_texstate.c
index 2d7ad5552178531a00d6c3a9ce8b4e12d420dc7b..443fafe5e22bed5652ff376bbda1bf642e1e63d6 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_texstate.c
+++ b/
src/mesa/drivers/dri/r300/r300_texstate.c
@@
-117,6
+117,7
@@
static const struct tx_table {
_ASSIGN(INTENSITY_FLOAT16, R300_EASY_TX_FORMAT(X, X, X, X, FL_I16)),
_ASSIGN(Z16, R300_EASY_TX_FORMAT(X, X, X, X, X16)),
_ASSIGN(Z24_S8, R300_EASY_TX_FORMAT(X, X, X, X, X24_Y8)),
+ _ASSIGN(S8_Z24, R300_EASY_TX_FORMAT(Y, Y, Y, Y, X24_Y8)),
_ASSIGN(Z32, R300_EASY_TX_FORMAT(X, X, X, X, X32)),
/* *INDENT-ON* */
};