summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-10-22 14:28:47 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-10-22 14:29:48 -0700
commit04ec113e09f6287f2c6b39bf0247e06839eaf7a8 (patch)
tree370c8982032d0debcab5953e90a312e28300f8c1 /src/gallium/drivers/r300/r300_texture.h
parentff9e1c01989fc80f07cdc69e3e373bdfe1a384ef (diff)
r300g: Enable more stuff in r300_screen, cleanup comments.
Also enable 24-bit depth buffers without stencil.
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.h')
-rw-r--r--src/gallium/drivers/r300/r300_texture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.h b/src/gallium/drivers/r300/r300_texture.h
index 2e58bda716..55d1a0ac5c 100644
--- a/src/gallium/drivers/r300/r300_texture.h
+++ b/src/gallium/drivers/r300/r300_texture.h
@@ -80,6 +80,7 @@ static INLINE uint32_t r300_translate_texformat(enum pipe_format format)
R300_TX_FORMAT_YUV_TO_RGB;
/* W24_FP */
case PIPE_FORMAT_Z24S8_UNORM:
+ case PIPE_FORMAT_Z24X8_UNORM:
return R300_EASY_TX_FORMAT(X, X, X, X, W24_FP);
default:
debug_printf("r300: Implementation error: "