aco: implement VS input loads with prologs
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11717>
This commit is contained in:
@@ -770,6 +770,13 @@ insert_wait_states(Program* program)
|
||||
std::stack<unsigned, std::vector<unsigned>> loop_header_indices;
|
||||
unsigned loop_progress = 0;
|
||||
|
||||
if (program->stage.has(SWStage::VS) && program->info->vs.dynamic_inputs) {
|
||||
for (Definition def : program->vs_inputs) {
|
||||
update_counters(in_ctx[0], event_vmem);
|
||||
insert_wait_entry(in_ctx[0], def, event_vmem);
|
||||
}
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < program->blocks.size();) {
|
||||
Block& current = program->blocks[i++];
|
||||
wait_ctx ctx = in_ctx[current.index];
|
||||
|
||||
Reference in New Issue
Block a user