diff options
| author | wwylele <wwylele@gmail.com> | 2017-06-07 22:58:36 +0300 |
|---|---|---|
| committer | wwylele <wwylele@gmail.com> | 2017-06-15 14:59:01 +0300 |
| commit | 7052d43a67c205d7284ab46e658e2c00aac970fd (patch) | |
| tree | e61e05524e6b593ec51259ddf95c8f5cdeb29a1c /src/video_core/regs_lighting.h | |
| parent | da1bec121a252aa0fe17dbc80bfad2d0423e342c (diff) | |
gl_rasterizer/lighting: implement geometric factor
Diffstat (limited to 'src/video_core/regs_lighting.h')
| -rw-r--r-- | src/video_core/regs_lighting.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/regs_lighting.h b/src/video_core/regs_lighting.h index f383b8b4f..7221d1688 100644 --- a/src/video_core/regs_lighting.h +++ b/src/video_core/regs_lighting.h @@ -168,6 +168,8 @@ struct LightingRegs { union { BitField<0, 1, u32> directional; BitField<1, 1, u32> two_sided_diffuse; // When disabled, clamp dot-product to 0 + BitField<2, 1, u32> geometric_factor_0; + BitField<3, 1, u32> geometric_factor_1; } config; BitField<0, 20, u32> dist_atten_bias; |
