Merge pull request #113802 from RandomShaper/make_cmd_queue_reentrant_again

CommandQueueMT: Make re-entrant again + Fix multiple flushers case
This commit is contained in:
Thaddeus Crews 2025-12-10 18:10:22 -06:00
commit fe638bc5cd
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
3 changed files with 21 additions and 17 deletions

View file

@ -103,7 +103,7 @@ Error _betsy_compress_s3tc(Image *r_img, Image::UsedChannels p_channels);
class BetsyCompressor : public Object {
GDSOFTCLASS(BetsyCompressor, Object);
mutable CommandQueueMT command_queue = CommandQueueMT(true);
mutable CommandQueueMT command_queue;
bool exit = false;
WorkerThreadPool::TaskID task_id = WorkerThreadPool::INVALID_TASK_ID;