Fix: Ensure explicit UBO bind indices are used in Metal #105311

Merged
Clément Foucault merged 3 commits from Jason-Fielder/blender:MetalExplicitUBOBindIndices into blender-v3.5-release 2023-03-03 12:03:54 +01:00

3 Commits

Author SHA1 Message Date
Clément Foucault c3ac17a112 Merge branch 'blender-v3.5-release' into MetalExplicitUBOBindIndices 2023-03-03 12:01:35 +01:00
Clément Foucault 6fad13c4b5 Merge branch 'blender-v3.5-release' into MetalExplicitUBOBindIndices 2023-03-03 00:44:20 +01:00
Michael Parkin-White 16b8f65f6f Fix: Ensure explicit UBO bind indices are used in Metal.
Previously, UBO bind locations were linearly incremented and
relied on  the correct uniform location being queried. This fix
is a future requirement for EEVEE next, however, pulling forward
due to Issue #105280 highlighting a possible flaw with expected
uniform locations.

Authored by Apple: Michael Parkin-White

Ref #96261
2023-02-28 16:52:04 +00:00