diff options
author | Jason Fielder <jason_apple> | 2022-03-30 20:37:29 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-03-30 20:47:00 +0300 |
commit | 7c9e128bbfb37d70799f8867d93992ee3f522242 (patch) | |
tree | 2b881de1c924455d6e58ccad35d8831339abfa3a /source/blender/draw/engines/workbench/shaders/workbench_prepass_vert.glsl | |
parent | 60a6fbf5b59911cba54d30bd1105626fcc577875 (diff) |
Metal: GLSL Compatibility - explicit mat4_to_mat3 conversion
Explicit constructor for mat3 from a mat4 is not valid and cannot be overloaded.
Adding explicit texture resource type flags for depth textures. This is an explicit requirement for Metal Shading language. This is a temporary compatibility, as this path is already supported in GPU_SHADER_CREATE_INFO under ImageType::DEPTH_2D, though required in shader source for MSL shaders which do not have create info.
Authored by Apple: Michael Parkin-White
Ref T96261
Reviewed By: fclem
Maniphest Tasks: T96261
Differential Revision: https://developer.blender.org/D14418
Diffstat (limited to 'source/blender/draw/engines/workbench/shaders/workbench_prepass_vert.glsl')
0 files changed, 0 insertions, 0 deletions