summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2014-09-07 01:10:01 +0800
committerChia-I Wu <olvaffe@gmail.com>2014-09-09 13:31:37 +0800
commitfff986916485de97d462b9f89c3379fc8cfe64bd (patch)
treec87412692648cc2ec9ceabcb627eb56561aea9ec /src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
parentc81a973e04f2955d6add9036e9b6c96da5bc8941 (diff)
ilo: convert GPE state functions to use ilo_builder
Make these changes ilo_cp_steal_ptr() and memcpy() -> ilo_builder_state_write() ilo_cp_steal_ptr() -> ilo_builder_state_pointer() and use this chance to drop the "_emit_" infix.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
index 6fde9ec1099..a2f9ccbb49e 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
@@ -848,18 +848,18 @@ gen7_rectlist_states(struct ilo_3d_pipeline *p,
{
if (blitter->uses & ILO_BLITTER_USE_DSA) {
session->DEPTH_STENCIL_STATE =
- gen6_emit_DEPTH_STENCIL_STATE(p->dev, &blitter->dsa, p->cp);
+ gen6_DEPTH_STENCIL_STATE(&p->cp->builder, &blitter->dsa);
}
if (blitter->uses & ILO_BLITTER_USE_CC) {
session->COLOR_CALC_STATE =
- gen6_emit_COLOR_CALC_STATE(p->dev, &blitter->cc.stencil_ref,
- blitter->cc.alpha_ref, &blitter->cc.blend_color, p->cp);
+ gen6_COLOR_CALC_STATE(&p->cp->builder, &blitter->cc.stencil_ref,
+ blitter->cc.alpha_ref, &blitter->cc.blend_color);
}
if (blitter->uses & ILO_BLITTER_USE_VIEWPORT) {
session->CC_VIEWPORT =
- gen6_emit_CC_VIEWPORT(p->dev, &blitter->viewport, 1, p->cp);
+ gen6_CC_VIEWPORT(&p->cp->builder, &blitter->viewport, 1);
}
}