summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-05 21:10:20 -0700
committerJason Ekstrand <[email protected]>2015-10-05 21:10:20 -0700
commit65964cd49b0fd7cbc90805c8c18b4fd39f975a9c (patch)
tree3e3f8df62a9411f120b047f60de61c15d7565f02 /src/vulkan/anv_meta.c
parent05a26a60c831f1dafc60a9f88b0d5cb2ca303d01 (diff)
vk/0.170.2: Re-arrange parameters of vkCmdDraw[Indexed]
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r--src/vulkan/anv_meta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c
index 949e5a16601..77c47dac247 100644
--- a/src/vulkan/anv_meta.c
+++ b/src/vulkan/anv_meta.c
@@ -414,7 +414,7 @@ meta_emit_clear(struct anv_cmd_buffer *cmd_buffer,
device->meta_state.shared.cb_state);
ANV_CALL(CmdDraw)(anv_cmd_buffer_to_handle(cmd_buffer),
- 0, 3, 0, num_instances);
+ 3, num_instances, 0, 0);
}
void
@@ -926,7 +926,7 @@ meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
device->meta_state.blit.pipeline_layout, 0, 1,
&set, 0, NULL);
- ANV_CALL(CmdDraw)(anv_cmd_buffer_to_handle(cmd_buffer), 0, 3, 0, 1);
+ ANV_CALL(CmdDraw)(anv_cmd_buffer_to_handle(cmd_buffer), 3, 1, 0, 0);
ANV_CALL(CmdEndRenderPass)(anv_cmd_buffer_to_handle(cmd_buffer));