summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen7_cmd_buffer.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-26 15:44:02 -0800
committerJason Ekstrand <[email protected]>2016-01-26 15:44:02 -0800
commit7ef0d39cb2c8c2931e6afc56322ceb84a2fe0cbe (patch)
tree0f2849eb47cf8e813e1f934ffde5bddb3cb56cc8 /src/vulkan/gen7_cmd_buffer.c
parent6840cc15136fb405abd999222f2b08a068ba2e3c (diff)
anv/cmd_buffer: Put base_instance in the second component
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 8fae1351848..9f66364c6c1 100644
--- a/src/vulkan/gen7_cmd_buffer.c
+++ b/src/vulkan/gen7_cmd_buffer.c
@@ -545,7 +545,7 @@ emit_base_vertex_instance(struct anv_cmd_buffer *cmd_buffer,
anv_cmd_buffer_alloc_dynamic_state(cmd_buffer, 8, 4);
((uint32_t *)id_state.map)[0] = base_vertex;
- ((uint32_t *)id_state.map)[0] = base_instance;
+ ((uint32_t *)id_state.map)[1] = base_instance;
if (!cmd_buffer->device->info.has_llc)
anv_state_clflush(id_state);