gl_shader_gen: Refactor lighting config to match Pica register naming.

- Also implement D0 LUT enable.
This commit is contained in:
bunnei 2015-11-18 23:40:18 -05:00
parent 6307999116
commit 3d89dacd56
3 changed files with 48 additions and 40 deletions

View file

@ -718,6 +718,8 @@ struct Regs {
};
union {
BitField<16, 1, u32> lut_enable_d0; // 0: GL_TRUE, 1: GL_FALSE
// Each bit specifies whether distance attenuation should be applied for the
// corresponding light