summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_render.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-01-25 15:25:33 +0800
committerChia-I Wu <[email protected]>2015-02-12 07:56:11 +0800
commit574f8d0229c2b94f1e408da06ea82f9a4c50a590 (patch)
tree01296d7e0eafc05bff0c05f72f370b07690a1fb6 /src/gallium/drivers/ilo/ilo_render.c
parentbfc8a726096c752f15b1e2f1043fe284f0effb18 (diff)
ilo: update MI helpers for Gen8
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_render.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.c b/src/gallium/drivers/ilo/ilo_render.c
index c48a50defb4..0631c04da2b 100644
--- a/src/gallium/drivers/ilo/ilo_render.c
+++ b/src/gallium/drivers/ilo/ilo_render.c
@@ -343,12 +343,12 @@ ilo_render_emit_query(struct ilo_render *render,
for (i = 0; i < reg_count; i++) {
if (regs[i]) {
/* store lower 32 bits */
- gen6_MI_STORE_REGISTER_MEM(render->builder, q->bo, offset, regs[i]);
+ gen6_MI_STORE_REGISTER_MEM(render->builder, regs[i], q->bo, offset);
/* store higher 32 bits */
- gen6_MI_STORE_REGISTER_MEM(render->builder, q->bo,
- offset + 4, regs[i] + 4);
+ gen6_MI_STORE_REGISTER_MEM(render->builder, regs[i] + 4,
+ q->bo, offset + 4);
} else {
- gen6_MI_STORE_DATA_IMM(render->builder, q->bo, offset, 0, true);
+ gen6_MI_STORE_DATA_IMM(render->builder, q->bo, offset, 0);
}
offset += 8;