blender/intern/opencolorio
Jason Fielder 18b45aabf9 Metal: GLSL shader compatibility changes for global uniform and interface name collision.
For the Metal shader translation support for shader-global uniforms are remapped via macro's, and in such cases where a uniform name matches a vertex attribute name, compilation errors will occur due to this injected syntax being incompatible with the immediate code.

Also adding source-level function interface alternatives where sized arrays are passed in. These are not supported directly in Metal shading language and are instead handled as pointers. These pointers require explicit address-space qualifiers in some cases, if device/constant address space memory is passed into the function.

Ref T96261

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D15898
2022-09-22 17:53:56 +02:00
..
CMakeLists.txt Cleanup OpenGL linking and related code after libepoxy merge 2022-08-15 16:47:20 +02:00
fallback_impl.cc Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
gpu_shader_display_transform_frag.glsl Metal: GLSL shader compatibility changes for global uniform and interface name collision. 2022-09-22 17:53:56 +02:00
gpu_shader_display_transform_vert.glsl OCIO: Port shader creation logic to use GPUShaderCreateInfo 2022-02-18 22:30:45 +01:00
ocio_capi.cc Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
ocio_capi.h Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
ocio_impl_glsl.cc Fix OpenColorIO error with configs using <USE_DISPLAY_NAME> 2022-04-11 20:10:42 +02:00
ocio_impl.cc Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
ocio_impl.h Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
ocio_shader_shared.hh OCIO: Port shader creation logic to use GPUShaderCreateInfo 2022-02-18 22:30:45 +01:00