diff options
author | Jason Fielder <jason_apple> | 2022-09-06 08:55:21 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-09-06 09:08:07 +0300 |
commit | 32d19f7317e9f2d726230a67ba9fed623fee337e (patch) | |
tree | 673202e988c54e5fe090160e342fe23d0f6d6a95 /source/blender/editors/curve/editcurve.c | |
parent | d9db79dbe5bec8ba541660940bf981de1c7c5c52 (diff) |
MacOS: Resolve purple rendering artifacts in EEVEE materials by increasing sampler limit.
Enables a feature flag during OpenGL device initialisation on macOS, which increases the available number of texture samplers available for use within shaders. Enabling this flag removes purple rendering artifacts present in certain EEVEE materials, when the existing limit of 16 is exceeded.
This feature flag is supported on Apple Silicon and AMD GPUs, for devices supporting macOS 11.0+. Device initialisation first tests whether GL device creation with the flag is supported, if not, we fall back to standard initialisation.
Other solutions would not be trivial or incur additional performance overhead or feature limitations. Other workarounds, such as texture atlas's, could already be created by artists.
{F13245498}
{F13245497}
Reviewed By: jbakker
Maniphest Tasks: T57759, T63935
Differential Revision: https://developer.blender.org/D15336
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
0 files changed, 0 insertions, 0 deletions