Metal: Stencil texture view support #107971

Merged
Jeroen Bakker merged 3 commits from Jason-Fielder/blender:MetalStencilViewSupport_And_Refactor into main 2023-05-22 20:40:43 +02:00

3 Commits

Author SHA1 Message Date
Clément Foucault 3d9292a956 Merge branch 'main' into MetalStencilViewSupport_And_Refactor 2023-05-22 10:49:47 +02:00
Jason Fielder 9bbe20ef4f Merge branch 'main' into MetalStencilViewSupport_And_Refactor 2023-05-16 14:23:46 +02:00
Michael Parkin-White 4fa52738ce Metal: Stencil texture view support
Adds stencil texture view support for Metal, allowing reading of
stencil component during texture sample/read.

Stencil view creation refactored to use additional parameter in
textureview creation function, due to deferred stencil parameter
causing double texture view creation in Metal, when this should
ideally be provided upfront.

Authored by Apple: Michael Parkin-White

Ref #96261
2023-05-16 13:19:37 +01:00