diff options
author | Chad Versace <[email protected]> | 2015-08-28 07:36:28 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-08-28 07:36:35 -0700 |
commit | 798acb2464f1a7baf58b0085d020d7b2b3d21de7 (patch) | |
tree | 43e267ecf52ea525aacbd94590115efb7d27e537 /src/vulkan/gen7_cmd_buffer.c | |
parent | 4461392343b76050180c9d2004d5b617fdbd2e1a (diff) |
vk/gen7: Fix gen of emitted packet in gen7_batch_lri()
Emit GEN7_MI_LOAD_REGISTER_IMM, not the GEN8 version.
Diffstat (limited to 'src/vulkan/gen7_cmd_buffer.c')
-rw-r--r-- | src/vulkan/gen7_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |