mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeonsi: don't hang on shader compile failure
Cc: 17.0 <mesa-stable@lists.freedesktop.org> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
eebd0cd560
commit
518d834162
1 changed files with 1 additions and 1 deletions
|
|
@ -1246,7 +1246,7 @@ again:
|
|||
memcmp(¤t->key, key, sizeof(*key)) == 0 &&
|
||||
(!current->is_optimized ||
|
||||
util_queue_fence_is_signalled(¤t->optimized_ready))))
|
||||
return 0;
|
||||
return current->compilation_failed ? -1 : 0;
|
||||
|
||||
/* This must be done before the mutex is locked, because async GS
|
||||
* compilation calls this function too, and therefore must enter
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue