radeonsi/gfx9: wait for main part compilation of 1st shaders of merged shaders
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
ffbaba6072
commit
b5bc826ead
|
@ -1602,6 +1602,10 @@ again:
|
||||||
previous_stage_sel = key->part.tcs.ls;
|
previous_stage_sel = key->part.tcs.ls;
|
||||||
else if (sel->type == PIPE_SHADER_GEOMETRY)
|
else if (sel->type == PIPE_SHADER_GEOMETRY)
|
||||||
previous_stage_sel = key->part.gs.es;
|
previous_stage_sel = key->part.gs.es;
|
||||||
|
|
||||||
|
/* We need to wait for the previous shader. */
|
||||||
|
if (previous_stage_sel && thread_index < 0)
|
||||||
|
util_queue_fence_wait(&previous_stage_sel->ready);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Compile the main shader part if it doesn't exist. This can happen
|
/* Compile the main shader part if it doesn't exist. This can happen
|
||||||
|
|
Loading…
Reference in New Issue