mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
radeonsi: check the IR type before waiting for a compute compilation fence
This should fix OpenCL getting stuck. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100288 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
4084083124
commit
827ae79b2c
1 changed files with 3 additions and 1 deletions
|
|
@ -746,7 +746,9 @@ static void si_launch_grid(
|
|||
sctx->b.flags |= SI_CONTEXT_PS_PARTIAL_FLUSH |
|
||||
SI_CONTEXT_CS_PARTIAL_FLUSH;
|
||||
|
||||
util_queue_fence_wait(&program->ready);
|
||||
if (program->ir_type == PIPE_SHADER_IR_TGSI)
|
||||
util_queue_fence_wait(&program->ready);
|
||||
|
||||
si_decompress_compute_textures(sctx);
|
||||
|
||||
/* Add buffer sizes for memory checking in need_cs_space. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue