mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
[GPU/Common/DX9/GLES/Software] Object out of scope optimization for better codegeneration (lower level scope)
This commit is contained in:
1 parent
2a31f8c6c0
commit
ca94de8d4b
8 files changed
+15
-11
No files matched your search
@@ -148,7 +148,7 @@ void Lighter::Light(float colorOut0[4], float colorOut1[4], const float colorIn[
|
||||
Color4 diff = (lightDiff * *diffuse) * dot;
|
||||
|
||||
// Real PSP specular
|
||||
Vec3f toViewer(0, 0, 1);
|
||||
static const Vec3f toViewer(0, 0, 1);
|
||||
// Better specular
|
||||
// Vec3f toViewer = (viewer - pos).NormalizedOr001(cpu_info.bSSE4_1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user