Closed yaoyao-cn closed 2 years ago
compared with d3d implementation, the following function is missing vec4 getRow(in float4x4 M, uint i) https://github.com/ConfettiFX/The-Forge/blob/master/Common_3/Tools/ForgeShadingLanguage/includes/vulkan.h#L466 https://github.com/ConfettiFX/The-Forge/blob/master/Common_3/Tools/ForgeShadingLanguage/includes/metal.h#L199
vec4 getRow(in float4x4 M, uint i)
and there is no setRow function I use the vector * matrix pattern, For some reason i need to manipulate the 3rd row(the translation component), it will be very convenient if setRow exists
thanks !
compared with d3d implementation, the following function is missing
vec4 getRow(in float4x4 M, uint i)
https://github.com/ConfettiFX/The-Forge/blob/master/Common_3/Tools/ForgeShadingLanguage/includes/vulkan.h#L466 https://github.com/ConfettiFX/The-Forge/blob/master/Common_3/Tools/ForgeShadingLanguage/includes/metal.h#L199and there is no setRow function I use the vector * matrix pattern, For some reason i need to manipulate the 3rd row(the translation component), it will be very convenient if setRow exists
thanks !