**System Information**
Operating system: Linux-5.15.5-2-MANJARO-x86_64-with-glibc2.33 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 21.2.5
**Blender Version**
Broken: 3.1
Worked: 2.93.6
**Short description of error**
Spot light no longer projecting an image texture in Blender 3. When I switch light from spot light to Point light than it working. But in Blender 2.93 both lights working well.
Blender 3. Point light
{F12678893}
Blender 3. Spot light
{F12678897}
Blender 2.9 Spot light
{F12678901}
**Exact steps for others to reproduce the error**
Download and open the example file: {F12678912}