Metal: Add AMD support for subpass transition #119784

Merged
Jeroen Bakker merged 5 commits from Jason-Fielder/blender:MetalAMDSubpassTransitionSupport into main 2024-04-11 15:24:05 +02:00

5 Commits

Author SHA1 Message Date
Michael Parkin-White d5e139b084 Replace static function with BLI_INLINE to reduce compiler warnings. 2024-04-11 13:53:05 +01:00
Michael Parkin-White 67aa701359 Merge branch 'main' into MetalAMDSubpassTransitionSupport 2024-04-11 13:30:48 +01:00
Michael Parkin-White 5211c56297 Merge branch 'main' into MetalAMDSubpassTransitionSupport 2024-03-22 13:55:19 +00:00
Michael Parkin-White 5ca3e0cb7e Remove leftover TODO 2024-03-22 13:53:43 +00:00
Michael Parkin-White 2df86a6db9 Metal: Add AMD support for subpass transition
Adds support for subpass transition for AMD/Intel IMR
GPUs. This enables correct functioning of EEVEE Next
deferred lighting pass on AMD platforms.

The emulation is consistent with the OpenGL approach
of generating additional texture bindings in the shader
for subpass inputs, and splitting render passes across
sub-pass boundaries.

Authored by Apple: Michael Parkin-White
2024-03-22 12:39:02 +00:00