summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen7_cmd_buffer.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-08-28 07:36:28 -0700
committerChad Versace <[email protected]>2015-08-28 07:36:35 -0700
commit798acb2464f1a7baf58b0085d020d7b2b3d21de7 (patch)
tree43e267ecf52ea525aacbd94590115efb7d27e537 /src/vulkan/gen7_cmd_buffer.c
parent4461392343b76050180c9d2004d5b617fdbd2e1a (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.c2
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);
}