summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_context.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-24 14:31:07 +0800
committerChia-I Wu <[email protected]>2014-09-26 21:15:55 +0800
commit23d66a42a387241af6c05f4e8bed2bdef7a727a5 (patch)
treecc417bbc82a167a37332538e363075fbeb8a15ef /src/gallium/drivers/ilo/ilo_context.c
parent3afe30e64be7f4686398f826389159d87d8ae096 (diff)
ilo: rename 3d_pipeline to render
Follow the file renaming. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_context.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_context.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/drivers/ilo/ilo_context.c b/src/gallium/drivers/ilo/ilo_context.c
index ca991e16338..7a8747b0fac 100644
--- a/src/gallium/drivers/ilo/ilo_context.c
+++ b/src/gallium/drivers/ilo/ilo_context.c
@@ -48,10 +48,10 @@ ilo_context_cp_submitted(struct ilo_cp *cp, void *data)
struct ilo_context *ilo = ilo_context(data);
/* invalidate the pipeline */
- ilo_3d_pipeline_invalidate(ilo->pipeline,
- ILO_3D_PIPELINE_INVALIDATE_BATCH_BO |
- ILO_3D_PIPELINE_INVALIDATE_STATE_BO |
- ILO_3D_PIPELINE_INVALIDATE_KERNEL_BO);
+ ilo_render_invalidate(ilo->render,
+ ILO_RENDER_INVALIDATE_BATCH_BO |
+ ILO_RENDER_INVALIDATE_STATE_BO |
+ ILO_RENDER_INVALIDATE_KERNEL_BO);
}
static void
@@ -124,8 +124,8 @@ ilo_context_destroy(struct pipe_context *pipe)
if (ilo->blitter)
ilo_blitter_destroy(ilo->blitter);
- if (ilo->pipeline)
- ilo_3d_pipeline_destroy(ilo->pipeline);
+ if (ilo->render)
+ ilo_render_destroy(ilo->render);
if (ilo->shader_cache)
ilo_shader_cache_destroy(ilo->shader_cache);
if (ilo->cp)
@@ -159,9 +159,9 @@ ilo_context_create(struct pipe_screen *screen, void *priv)
ilo->shader_cache = ilo_shader_cache_create();
ilo->cp = ilo_cp_create(ilo->dev, ilo->winsys, ilo->shader_cache);
if (ilo->cp)
- ilo->pipeline = ilo_3d_pipeline_create(&ilo->cp->builder);
+ ilo->render = ilo_render_create(&ilo->cp->builder);
- if (!ilo->cp || !ilo->shader_cache || !ilo->pipeline) {
+ if (!ilo->cp || !ilo->shader_cache || !ilo->render) {
ilo_context_destroy(&ilo->base);
return NULL;
}