projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07183b7
)
r300g: add z16 unorm texture format
author
Dave Airlie
<airlied@redhat.com>
Sat, 26 Sep 2009 08:24:34 +0000
(18:24 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 26 Sep 2009 08:24:34 +0000
(18:24 +1000)
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 697669147d87e22523acbedabc65f5a6f5c88301..78ee0f1611af0e5e0fdf9a2055e67e4663a10690 100644
(file)
--- a/
src/gallium/drivers/r300/r300_texture.h
+++ b/
src/gallium/drivers/r300/r300_texture.h
@@
-75,6
+75,8
@@
static INLINE uint32_t r300_translate_texformat(enum pipe_format format)
/* Z5_Y6_X5 */
case PIPE_FORMAT_R16_SNORM:
return R300_EASY_TX_FORMAT(X, X, X, X, Z5Y6X5);
+ case PIPE_FORMAT_Z16_UNORM:
+ return R300_EASY_TX_FORMAT(X, X, X, X, X16);
default:
debug_printf("r300: Implementation error: "
"Got unsupported texture format %s in %s\n",