diff options
author | Jakob Bornecrantz <[email protected]> | 2009-11-07 15:47:21 +0000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-11-07 15:47:21 +0000 |
commit | 229f6b9a7e699b814e07ba762de97a5ebcffce51 (patch) | |
tree | ded5c75b998c887e81ab1d4d62220c0b180e0fbc /src/gallium/drivers/i965/brw_screen.c | |
parent | 1f94c06d3fcf7ff365c3e528179869d702bdd25e (diff) |
i965g: Formalize on S8Z24 as the suported depth format
Diffstat (limited to 'src/gallium/drivers/i965/brw_screen.c')
-rw-r--r-- | src/gallium/drivers/i965/brw_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_screen.c b/src/gallium/drivers/i965/brw_screen.c index 575a418b7dc..af885320a7f 100644 --- a/src/gallium/drivers/i965/brw_screen.c +++ b/src/gallium/drivers/i965/brw_screen.c @@ -210,12 +210,14 @@ brw_is_format_supported(struct pipe_screen *screen, PIPE_FORMAT_A8L8_UNORM, PIPE_FORMAT_YCBCR, PIPE_FORMAT_YCBCR_REV, + PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_S8Z24_UNORM, PIPE_FORMAT_NONE /* list terminator */ }; static const enum pipe_format surface_supported[] = { PIPE_FORMAT_A8R8G8B8_UNORM, PIPE_FORMAT_R5G6B5_UNORM, + PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_S8Z24_UNORM, PIPE_FORMAT_NONE /* list terminator */ }; |