Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use max 16 threads #14

Open
wants to merge 1 commit into
base: unity
Choose a base branch
from

Conversation

blaztinn
Copy link

The commit 4bb735f7966eedf414aa8e24533967cffd5bbcdb only fixed the
threading limit on the decoder part. Use the limit also in the encoder.

Without this change we got random black squares on converted textures
when compressed on Macos with 24 threads.

The issue was not reproducible on Windows but I've added the limit there
also in case it is a race issue that is harder to trigger on Windows.

The commit `4bb735f7966eedf414aa8e24533967cffd5bbcdb` only fixed the
threading limit on the decoder part. Use the limit also in the encoder.
@illwieckz
Copy link

Hi @blaztinn we merged your fix in Dæmon engine's tree, this tree has also a lot of other fixes so you may be interested by it:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants