summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-02-27 10:46:15 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2011-02-27 10:46:15 +0100
commitab8a05a88c77bcc1f0ff357dc0351f6bc9f7291a (patch)
tree7cfe4e52e528581e4213b513e670071155315e18
parentf3bb93b495204a8cf2351113863f10151e0098fc (diff)
i915g: enable Z16
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--src/gallium/drivers/i915/i915_screen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 77febbf501..3876a47dd4 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -262,8 +262,7 @@ i915_is_format_supported(struct pipe_screen *screen,
PIPE_FORMAT_L8A8_UNORM,
PIPE_FORMAT_UYVY,
PIPE_FORMAT_YUYV,
- /* XXX why not?
- PIPE_FORMAT_Z16_UNORM, */
+ PIPE_FORMAT_Z16_UNORM,
PIPE_FORMAT_Z24X8_UNORM,
PIPE_FORMAT_Z24_UNORM_S8_USCALED,
PIPE_FORMAT_NONE /* list terminator */
@@ -274,8 +273,7 @@ i915_is_format_supported(struct pipe_screen *screen,
PIPE_FORMAT_NONE /* list terminator */
};
static const enum pipe_format depth_supported[] = {
- /* XXX why not?
- PIPE_FORMAT_Z16_UNORM, */
+ PIPE_FORMAT_Z16_UNORM,
PIPE_FORMAT_Z24X8_UNORM,
PIPE_FORMAT_Z24_UNORM_S8_USCALED,
PIPE_FORMAT_NONE /* list terminator */