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
GradingPrimaryTransform shader fails Windows / macOS #1603
Comments
|
In OCIO we already have many GPU unit tests around |
|
@hodoulp
It appears as though the 'clampWhite' and 'clampBlack' defaults of +,- max double is being written out to glsl as 'inf' |
|
BTW, forgot to add that my repro was done on Windows+nVidia so it's not specific to Mac. The only workaround is to specify your own values for clamp inside the config. For example: |
When using GradingPrimaryTransform the generated GLSL code fails to compile. The actual issue is inside OCIO (AcademySoftwareFoundation/OpenColorIO#1603). The reason is that unset clamping values are rendered out as `inf`, which isn't recognizable by GLSL. The issue is worked around by defining a default for `inf`. Reviewed By: brecht Maniphest Tasks: T96502 Differential Revision: https://developer.blender.org/D14425
|
Plausibly related to #1601 ? |
|
Hi @sobotka & @jessey-git |
|
Despite what is written in the issue description above, based on Patrick's investigation, it should not be possible for the stated problem to occur in the 2.1 release, or later. Therefore, I am closing this issue as Fixed. |
When using GradingPrimaryTransform the generated GLSL code fails to compile. The actual issue is inside OCIO (AcademySoftwareFoundation/OpenColorIO#1603). The reason is that unset clamping values are rendered out as `inf`, which isn't recognizable by GLSL. The issue is worked around by defining a default for `inf`. Reviewed By: brecht Maniphest Tasks: T96502 Differential Revision: https://developer.blender.org/D14425
GradingPrimaryTransformappears to fail in the shader on macOS (Intel). v 2.0.0 and 2.1.1.The text was updated successfully, but these errors were encountered: