AcademySoftwareFoundation / OpenShadingLanguage

Advanced shading language for production GI renderers
BSD 3-Clause "New" or "Revised" License
2.07k stars 350 forks source link

Fix mismatched strides when calling OCIO for transformc with derivs #1646

Closed lgritz closed 1 year ago

lgritz commented 1 year ago

We were getting an exception thrown on the OCIO side, because we were passing 0 for the y stride (which, us humans know, should have been fine since there was only one row, so the stride shouldn't have mattered). Now pass the right stride even though we don't need to step from row to row.