aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_scene.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-05-28 02:34:27 +0200
committerRoland Scheidegger <[email protected]>2013-05-29 00:41:06 +0200
commit33fcce36828d6ae413c1673f8de5c56fbd8ba4a1 (patch)
tree3f32cfba0b56c3e915ddb76947589f19416b816b /src/gallium/drivers/llvmpipe/lp_scene.c
parentb3abc93f47cbc4c0a5f4304c66a79395c0aa8220 (diff)
llvmpipe: get rid of tiled/linear layout remains
Eliminate the rest of the no longer needed layout logic. (It is possible some code could be simplified a bit further still.) Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.c b/src/gallium/drivers/llvmpipe/lp_scene.c
index e05ea753b4b..3a3ba7502db 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.c
+++ b/src/gallium/drivers/llvmpipe/lp_scene.c
@@ -163,8 +163,7 @@ lp_scene_begin_rasterization(struct lp_scene *scene)
scene->cbufs[i].map = llvmpipe_resource_map(cbuf->texture,
cbuf->u.tex.level,
cbuf->u.tex.first_layer,
- LP_TEX_USAGE_READ_WRITE,
- LP_TEX_LAYOUT_LINEAR);
+ LP_TEX_USAGE_READ_WRITE);
}
else {
struct llvmpipe_resource *lpr = llvmpipe_resource(cbuf->texture);
@@ -184,8 +183,7 @@ lp_scene_begin_rasterization(struct lp_scene *scene)
scene->zsbuf.map = llvmpipe_resource_map(zsbuf->texture,
zsbuf->u.tex.level,
zsbuf->u.tex.first_layer,
- LP_TEX_USAGE_READ_WRITE,
- LP_TEX_LAYOUT_LINEAR);
+ LP_TEX_USAGE_READ_WRITE);
}
}