From 798acb2464f1a7baf58b0085d020d7b2b3d21de7 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 28 Aug 2015 07:36:28 -0700 Subject: [PATCH] vk/gen7: Fix gen of emitted packet in gen7_batch_lri() Emit GEN7_MI_LOAD_REGISTER_IMM, not the GEN8 version. --- src/vulkan/gen7_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/gen7_cmd_buffer.c b/src/vulkan/gen7_cmd_buffer.c index 6eb5d48c039..d9644e2a06a 100644 --- a/src/vulkan/gen7_cmd_buffer.c +++ b/src/vulkan/gen7_cmd_buffer.c @@ -387,7 +387,7 @@ gen7_batch_lrm(struct anv_batch *batch, static void gen7_batch_lri(struct anv_batch *batch, uint32_t reg, uint32_t imm) { - anv_batch_emit(batch, GEN8_MI_LOAD_REGISTER_IMM, + anv_batch_emit(batch, GEN7_MI_LOAD_REGISTER_IMM, .RegisterOffset = reg, .DataDWord = imm); } -- 2.30.2