mesa: Track enabled lights in a bitmask
authorMathias Fröhlich <mathias.froehlich@web.de>
Sun, 22 May 2016 12:10:19 +0000 (14:10 +0200)
committerMathias Fröhlich <mathias.froehlich@web.de>
Thu, 16 Jun 2016 03:50:53 +0000 (05:50 +0200)
commitb60c7302357c2ceb0297d5ef2f748c9b686dbad5
tree04f64cf8c7c57dd6e41768dfedfc21e35448dde0
parent6749d77c690d2254b8ed3f16a653c41565ebab49
mesa: Track enabled lights in a bitmask

This enables some optimizations afterwards.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/enable.c
src/mesa/main/light.c
src/mesa/main/mtypes.h