projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1e25a
)
r300g: add texture format for xvmc
author
Cooper Yuan
<cooperyuan@gmail.com>
Fri, 25 Sep 2009 07:15:20 +0000
(15:15 +0800)
committer
Cooper Yuan
<cooperyuan@gmail.com>
Fri, 25 Sep 2009 07:15:20 +0000
(15:15 +0800)
src/gallium/drivers/r300/r300_texture.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_texture.h
b/src/gallium/drivers/r300/r300_texture.h
index 3109af5bacaff1f2de43071c1e19861e647bb9ce..697669147d87e22523acbedabc65f5a6f5c88301 100644
(file)
--- a/
src/gallium/drivers/r300/r300_texture.h
+++ b/
src/gallium/drivers/r300/r300_texture.h
@@
-72,6
+72,9
@@
static INLINE uint32_t r300_translate_texformat(enum pipe_format format)
/* W24_FP */
case PIPE_FORMAT_Z24S8_UNORM:
return R300_EASY_TX_FORMAT(X, X, X, X, W24_FP);
+ /* Z5_Y6_X5 */
+ case PIPE_FORMAT_R16_SNORM:
+ return R300_EASY_TX_FORMAT(X, X, X, X, Z5Y6X5);
default:
debug_printf("r300: Implementation error: "
"Got unsupported texture format %s in %s\n",