Incorrect rendering on 4.0.rc1
OS: Fedora 37 GPU: NVIDIA GeForce RTX 4090 (NVIDIA 525.85.01)
Rendering appears mostly green, even though pathtracing does work technically:
Ray depth 5 (default)

Ray depth 1

Note that I've also had to make an array of RDUniforms untyped and change class_name Plane to class_name Plane2 to get the GDScript code to work without errors.
I have fixed errors you mentioned, but couldn't reproduce this issue :( Can you please check if it still remains?
On 500a98610932344ad8c200c1729721ea7fd441b8 with Godot 4.0.rc 15a97a2e8, I still get incorrect rendering:

Which operating system and graphics card model are you using? This could be a vendor-specific difference.
Mangaro with NVIDIA GeForce GTX 1050 (nvidia 525.89.02 drivers) I will check on another computers. Thank you!
With RTX 4060 Laptop (tested with driver versions 560.81 and 566.36) I face the same problem above. However, it runs as expected on my friend's GTX 1050 (driver version 561.03).
I asked another friend to test who has an RTX 3050 Laptop and it too ran it fine. This seems to be an issue specific to RTX 40 series GPUs.
I'm not sure why it's green at all Wish I had some way to reproduce and fix that
Still reproducible on 4.4.stable (Linux, GeForce RTX 4090 with NVIDIA 570.86.16):
My friend got a new RTX 4060 so I'll hopefully be able to test and fix this soon