System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.76
Blender Version
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: rBdc2d18018171
Worked: 2.93
Short description of error
The mist pass doesn't work properly in objects with sss shader
Exact steps for others to reproduce the error
Enable the mist pass with sss objects on the scene
