diff options
author | wwylele <wwylele@gmail.com> | 2017-05-25 19:15:12 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-05-30 09:54:58 +0200 |
commit | 686cbf3ac6503755337dd683bf22dfaa07b21c67 (patch) | |
tree | 0d8ea8a1ae4f1d90f057b1b1219b96c2cd0e0c69 /src/video_core/renderer_opengl/gl_shader_gen.h | |
parent | pica: prepare registers for spotlight (diff) | |
download | yuzu-686cbf3ac6503755337dd683bf22dfaa07b21c67.tar yuzu-686cbf3ac6503755337dd683bf22dfaa07b21c67.tar.gz yuzu-686cbf3ac6503755337dd683bf22dfaa07b21c67.tar.bz2 yuzu-686cbf3ac6503755337dd683bf22dfaa07b21c67.tar.lz yuzu-686cbf3ac6503755337dd683bf22dfaa07b21c67.tar.xz yuzu-686cbf3ac6503755337dd683bf22dfaa07b21c67.tar.zst yuzu-686cbf3ac6503755337dd683bf22dfaa07b21c67.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_gen.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_gen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.h b/src/video_core/renderer_opengl/gl_shader_gen.h index ea6d216d1..9c90eadf9 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.h +++ b/src/video_core/renderer_opengl/gl_shader_gen.h @@ -93,6 +93,7 @@ union PicaShaderConfig { bool directional; bool two_sided_diffuse; bool dist_atten_enable; + bool spot_atten_enable; } light[8]; bool enable; @@ -110,7 +111,7 @@ union PicaShaderConfig { bool abs_input; Pica::LightingRegs::LightingLutInput type; float scale; - } lut_d0, lut_d1, lut_fr, lut_rr, lut_rg, lut_rb; + } lut_d0, lut_d1, lut_sp, lut_fr, lut_rr, lut_rg, lut_rb; } lighting; struct { |