Differential D14872 Diff 40857 www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h
Changeset View
Changeset View
Standalone View
Standalone View
www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h.orig 2018-02-19 07:45:32 UTC | |||||
+++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h | |||||
@@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeon(const Lighti | |||||
neonData.flags |= FLAG_CONE_EXPONENT_IS_1; | |||||
} else { | |||||
ASSERT(m_lightSource->type() == LS_DISTANT); | |||||
- floatArguments.lightX = paintingData.lightVector.x(); | |||||
- floatArguments.lightY = paintingData.lightVector.y(); | |||||
- floatArguments.lightZ = paintingData.lightVector.z(); | |||||
+ floatArguments.lightX = paintingData.initialLightingData.lightVector.x(); | |||||
+ floatArguments.lightY = paintingData.initialLightingData.lightVector.y(); | |||||
+ floatArguments.lightZ = paintingData.initialLightingData.lightVector.z(); | |||||
floatArguments.padding2 = 1; | |||||
} | |||||