summaryrefslogtreecommitdiffstats
path: root/src/video_core/swrasterizer/lighting.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-31 03:07:30 +0200
committerGitHub <noreply@github.com>2017-08-31 03:07:30 +0200
commitf0e461bf6f9d38c35c581e75731ac80fca3f3172 (patch)
tree0a54a98595c313afd9002ed9964c94255a88abc4 /src/video_core/swrasterizer/lighting.h
parentMerge pull request #2899 from wwylele/touch-refactor (diff)
parentgl_rasterizer/lighting: more accurate CP formula (diff)
downloadyuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar
yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.gz
yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.bz2
yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.lz
yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.xz
yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.zst
yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.zip
Diffstat (limited to 'src/video_core/swrasterizer/lighting.h')
-rw-r--r--src/video_core/swrasterizer/lighting.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/swrasterizer/lighting.h b/src/video_core/swrasterizer/lighting.h
index 438dca926..d807a3d94 100644
--- a/src/video_core/swrasterizer/lighting.h
+++ b/src/video_core/swrasterizer/lighting.h
@@ -13,6 +13,7 @@ namespace Pica {
std::tuple<Math::Vec4<u8>, Math::Vec4<u8>> ComputeFragmentsColors(
const Pica::LightingRegs& lighting, const Pica::State::Lighting& lighting_state,
- const Math::Quaternion<float>& normquat, const Math::Vec3<float>& view);
+ const Math::Quaternion<float>& normquat, const Math::Vec3<float>& view,
+ const Math::Vec4<u8> (&texture_color)[4]);
} // namespace Pica