From 866f9b18c68ede63c00917ec9c3dae3524ca8826 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 11 Sep 2011 09:45:10 +0100 Subject: gallium: rename ZS stencil type to UINT (v2) these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by: Dave Airlie --- src/gallium/auxiliary/postprocess/pp_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/auxiliary/postprocess') diff --git a/src/gallium/auxiliary/postprocess/pp_init.c b/src/gallium/auxiliary/postprocess/pp_init.c index fd9eb22dc06..d5d64e88ee6 100644 --- a/src/gallium/auxiliary/postprocess/pp_init.c +++ b/src/gallium/auxiliary/postprocess/pp_init.c @@ -248,12 +248,12 @@ pp_init_fbos(struct pp_queue_t *ppq, const unsigned int w, if (!ppq->depth) goto error; - tmp_res.format = p->surf.format = PIPE_FORMAT_S8_USCALED_Z24_UNORM; + tmp_res.format = p->surf.format = PIPE_FORMAT_S8_UINT_Z24_UNORM; if (!p->screen->is_format_supported(p->screen, tmp_res.format, tmp_res.target, 1, tmp_res.bind)) { - tmp_res.format = p->surf.format = PIPE_FORMAT_Z24_UNORM_S8_USCALED; + tmp_res.format = p->surf.format = PIPE_FORMAT_Z24_UNORM_S8_UINT; if (!p->screen->is_format_supported(p->screen, tmp_res.format, tmp_res.target, 1, tmp_res.bind)) -- cgit v1.2.3