System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23
Blender Version
Broken: version: 3.1.0 Beta, branch: master, commit date: 2022-01-30 00:06, hash: rB2cf3ed13da1b
Worked: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: rBdc2d18018171
Short description of error
Textures in lights are ignored
Exact steps for others to reproduce the error
Switch viewport to Render mode
In 3.0 it looks like this
In 3.1 it looks like this

