04166ea0ea7dad9c4642ddd86fd005a0c16257f6
For metal version after 3.2 it's possible to log debugging messages, it works similar to `printf()`, except for a few differences: - `%s` is not supported, - `double` doesn't exist, so no casting to double for `%f`, - no `\n` needed at the end of the format string. To see the print in the console, environment variables `MTL_LOG_LEVEL` should be set to `MTLLogLevelDebug`, and `MTL_LOG_TO_STDERR` should be set to `1`. See https://developer.apple.com/documentation/metal/logging-shader-debug-messages Right now `printf()`, `print_float()`, `print_float2()`, `print_float3()` and `print_float4()` are supported. Thanks to @fclem for finding this out. Pull Request: https://projects.blender.org/blender/blender/pulls/146585
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
