From: Chad Versace Date: Fri, 28 Aug 2015 14:36:28 +0000 (-0700) Subject: vk/gen7: Fix gen of emitted packet in gen7_batch_lri() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=798acb2464f1a7baf58b0085d020d7b2b3d21de7;p=mesa.git vk/gen7: Fix gen of emitted packet in gen7_batch_lri() Emit GEN7_MI_LOAD_REGISTER_IMM, not the GEN8 version. --- 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); }