Files
test2/intern
Patrick Mours d0dd587b60 Fix #108372: GPU implementation of OSL matrix intrinsic functions
All the OSL matrix functions had been implemented using the
`Transform` utility of Cycles, but that's built around a 4x3 matrix,
when the OSL matrix functions are working with 4x4 matrices.
This resulted in them not producing results consistent with the
CPU implementation.

This fixes that by making use of the `ProjectionTransform` utility
of Cycles instead, because it's built around a 4x4 matrix. Since
matrix inversion is required, I had to make a few more utility
functions available on the GPU (except Metal, due to use of
references/pointers without specification) that were previously
CPU-only.

Co-authored-by: Brecht Van Lommel <brecht@blender.org>

Pull Request: https://projects.blender.org/blender/blender/pulls/110102
2024-11-04 17:59:29 +01:00
..
2024-09-20 13:14:57 +10:00
2024-11-02 15:44:22 +11:00
2024-01-03 13:38:14 +01:00
2024-09-20 19:46:56 +10:00
2024-02-05 17:08:17 +01:00
2024-07-30 12:23:09 +10:00
2024-10-04 11:33:21 +02:00