summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/regs_lighting.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/regs_lighting.h b/src/video_core/regs_lighting.h
index 548a6c4d5..6793405d9 100644
--- a/src/video_core/regs_lighting.h
+++ b/src/video_core/regs_lighting.h
@@ -34,7 +34,7 @@ struct LightingRegs {
34 * configurations that require more LUTs, more cycles are required on HW to perform lighting 34 * configurations that require more LUTs, more cycles are required on HW to perform lighting
35 * computations. 35 * computations.
36 */ 36 */
37 enum class LightingConfig { 37 enum class LightingConfig : u32 {
38 Config0 = 0, ///< Reflect Red, Distribution 0, Spotlight 38 Config0 = 0, ///< Reflect Red, Distribution 0, Spotlight
39 Config1 = 1, ///< Reflect Red, Fresnel, Spotlight 39 Config1 = 1, ///< Reflect Red, Fresnel, Spotlight
40 Config2 = 2, ///< Reflect Red, Distribution 0/1 40 Config2 = 2, ///< Reflect Red, Distribution 0/1
@@ -48,7 +48,7 @@ struct LightingRegs {
48 }; 48 };
49 49
50 /// Selects which lighting components are affected by fresnel 50 /// Selects which lighting components are affected by fresnel
51 enum class LightingFresnelSelector { 51 enum class LightingFresnelSelector : u32 {
52 None = 0, ///< Fresnel is disabled 52 None = 0, ///< Fresnel is disabled
53 PrimaryAlpha = 1, ///< Primary (diffuse) lighting alpha is affected by fresnel 53 PrimaryAlpha = 1, ///< Primary (diffuse) lighting alpha is affected by fresnel
54 SecondaryAlpha = 2, ///< Secondary (specular) lighting alpha is affected by fresnel 54 SecondaryAlpha = 2, ///< Secondary (specular) lighting alpha is affected by fresnel
@@ -58,7 +58,7 @@ struct LightingRegs {
58 }; 58 };
59 59
60 /// Factor used to scale the output of a lighting LUT 60 /// Factor used to scale the output of a lighting LUT
61 enum class LightingScale { 61 enum class LightingScale : u32 {
62 Scale1 = 0, ///< Scale is 1x 62 Scale1 = 0, ///< Scale is 1x
63 Scale2 = 1, ///< Scale is 2x 63 Scale2 = 1, ///< Scale is 2x
64 Scale4 = 2, ///< Scale is 4x 64 Scale4 = 2, ///< Scale is 4x
@@ -68,7 +68,7 @@ struct LightingRegs {
68 Scale1_2 = 7, ///< Scale is 0.5x 68 Scale1_2 = 7, ///< Scale is 0.5x
69 }; 69 };
70 70
71 enum class LightingLutInput { 71 enum class LightingLutInput : u32 {
72 NH = 0, // Cosine of the angle between the normal and half-angle vectors 72 NH = 0, // Cosine of the angle between the normal and half-angle vectors
73 VH = 1, // Cosine of the angle between the view and half-angle vectors 73 VH = 1, // Cosine of the angle between the view and half-angle vectors
74 NV = 2, // Cosine of the angle between the normal and the view vector 74 NV = 2, // Cosine of the angle between the normal and the view vector