summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_scene.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-11-28 20:14:17 +0000
committerJosé Fonseca <[email protected]>2012-11-29 14:08:43 +0000
commit75da95c50aedaa4b1abf51ec1dcaf2fe8ddd4f3b (patch)
tree618541040ca4bef1d6366c435df66c45f0d82c11 /src/gallium/drivers/llvmpipe/lp_scene.c
parent6916387e5396a891f2ffbc68866802d03f6a0939 (diff)
llvmpipe: Eliminate color buffer swizzling.
Now dead code. Also had to remove the show_tiles/show_subtiles because now the color buffers are always stored in their native format, so there is no longer an easy way to paint the tile sizes. Depth-stencil buffers are still swizzled. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.c b/src/gallium/drivers/llvmpipe/lp_scene.c
index 515717bf021..ed998246fb9 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.c
+++ b/src/gallium/drivers/llvmpipe/lp_scene.c
@@ -150,8 +150,6 @@ lp_scene_begin_rasterization(struct lp_scene *scene)
cbuf->u.tex.first_layer,
LP_TEX_USAGE_READ_WRITE,
LP_TEX_LAYOUT_LINEAR);
-
- scene->cbufs[i].unswizzled = llvmpipe_is_format_unswizzled(cbuf->format);
}
if (fb->zsbuf) {