summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro PiƱeiro <apinheiro@igalia.com>2020-02-08 23:12:56 +0100
committerMarge Bot <eric+marge@anholt.net>2020-10-13 21:21:27 +0000
commit83e83257f801f156ed21296e4b25c4f1ba38dda7 (patch)
treecb10ea18167ffa7d198fc0b9befffdd20b78906b
parent3dff3f3a452bb3fda0cbe2a82061ad1601179322 (diff)
v3dv: no need to manually add assembly bo to the job
The _cl utility methods are already doing that implicitly, as a way to ensure that any address emitted gets its bo included on the job. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
-rw-r--r--src/broadcom/vulkan/v3dv_cmd_buffer.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/broadcom/vulkan/v3dv_cmd_buffer.c b/src/broadcom/vulkan/v3dv_cmd_buffer.c
index 3bdb1cbca6e..f29a56375ac 100644
--- a/src/broadcom/vulkan/v3dv_cmd_buffer.c
+++ b/src/broadcom/vulkan/v3dv_cmd_buffer.c
@@ -1353,19 +1353,6 @@ subpass_start(struct v3dv_cmd_buffer *cmd_buffer)
cmd_buffer->state.dynamic.viewport.count == 0) {
emit_clip_window(job, &state->render_area);
}
-
- /* FIXME: is here the best moment to do that? or when drawing? */
- if (cmd_buffer->state.pipeline) {
- struct v3dv_pipeline *pipeline = cmd_buffer->state.pipeline;
-
- if (pipeline->vs->assembly_bo)
- v3dv_job_add_bo(cmd_buffer->state.job, pipeline->vs->assembly_bo);
- if (pipeline->vs_bin->assembly_bo)
- v3dv_job_add_bo(cmd_buffer->state.job, pipeline->vs_bin->assembly_bo);
- if (pipeline->fs->assembly_bo)
- v3dv_job_add_bo(cmd_buffer->state.job, pipeline->fs->assembly_bo);
- }
-
}
static void