Godot version
4.0.rc4
System information
Win 10
Issue description
When using a combination of these settings, only color_ramp will be used as a recompilation of the shader is not triggered.

Deleting the ramp used in color_ramp and reassigning a new ramp will cause a recompilation and everything looks as it should.
Steps to reproduce
- Create GPUParticle3D node and give it a basic setup
- Add a color_ramp
- Add a color_initial_ramp
Minimal reproduction project
Makes no sense, when the project is closed and reopened, the shaders are recompiled.