Lightning Failure with too many spot lights
Open, LowPublic

Description

System Information
Operating system: Windows 10 64bit
graphics card: NVIDIA GeForce GTX 670

Blender Version
Broken: 2.78c e92f235283
I tried it on experimental build "blender-2.80-317b8d9-win64.zip". There it crashes without an error.

Short description of error
lightning crashes when adding too many spot lights

Exact steps for others to reproduce the error
I added 47 Spot lights into a simple scene in Blender Render - Object mode - Viewport shading: Material
After adding the 48th spot light no lights are rendered any more in the 3d view.

The following error appears in system console:

GPUShader: linking error:

Vertex info

0(16) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(17) : warning C7555: 'varying' is deprecated, use 'in/out' instead

Fragment info

(0) : error C6020: Constant register limit exceeded at unf3353; more than 1024 registers needed to compiled program
(0) : error C6020: Constant register limit exceeded at unf3353; more than 1024 registers needed to compiled program
(0) : error C6020: Constant register limit exceeded at unf3353; more than 1024 registers needed to compiled program
(0) : error C6020: Constant register limit exceeded at unf3353; more than 1024 registers needed to compiled program
(0) : error C6020: Constant register limit exceeded at unf3353; more than 1024 registers needed to compiled program

Details

Type
Bug