diff options
author | Chia-I Wu <[email protected]> | 2015-03-06 01:36:01 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-03-06 02:25:03 +0800 |
commit | 70ef171e91582f60a010a4f0ea9f7ff5ba971ab4 (patch) | |
tree | 1c4a9ff952bc9be2de630b7d65d0faa7343f27b8 /src/gallium/drivers/ilo/ilo_render.c | |
parent | 0ac706535a07d003b9a40f8bad5445dd50f6c35b (diff) |
ilo: add intel_bo_set_tiling()
Make intel_winsys_alloc_bo() always allocate a linear bo, and add
intel_bo_set_tiling() to set the tiling. Document the purpose of tiling.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.c b/src/gallium/drivers/ilo/ilo_render.c index c1ed2c37a3e..c5492562de0 100644 --- a/src/gallium/drivers/ilo/ilo_render.c +++ b/src/gallium/drivers/ilo/ilo_render.c @@ -113,7 +113,7 @@ ilo_render_create(struct ilo_builder *builder) render->dev = builder->dev; render->builder = builder; - render->workaround_bo = intel_winsys_alloc_buffer(builder->winsys, + render->workaround_bo = intel_winsys_alloc_bo(builder->winsys, "PIPE_CONTROL workaround", 4096, false); if (!render->workaround_bo) { ilo_warn("failed to allocate PIPE_CONTROL workaround bo\n"); |