Commit Graph

13 Commits

Author SHA1 Message Date
Marc Audy
4562acb429 Fix shadow variables
[CL 2507160 by Marc Audy in Main branch]
2015-04-09 15:23:52 -04:00
PaulEremeeff
3d878d5a79 PR #996: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
 * Made nullptr checks consistent (the plurality of the changes are of this type)
 * Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
 * Removed unused variables
 * Removed redundant initializations
 * WidgetNavigationCustomization.cpp was fixed by the owner
 * integers converted to floats where result was stored in a float
 * Removed redundent null checks (e.g. before delete statements)
 * Renamed variables to prevent non-obvious shadowing
 * Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
 * Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)

[CL 2498053 by Dan Oconnor in Main branch]
2015-03-31 20:12:31 -04:00
Rolando Caloca
02b118b057 UE4 - Metal - Fix for depth textures
- Fix case of float3 Out : SV_Target1 instead of float4

[CL 2488021 by Rolando Caloca in Main branch]
2015-03-23 13:39:16 -04:00
Rolando Caloca
31e52138a9 UE4 - Metal - Fix for SVPosition.w
[CL 2398968 by Rolando Caloca in Main branch]
2015-01-06 14:44:32 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Rolando Caloca
7505c50959 UE4 - Metal - Use precise::clamp for float
#codereview Josh.Adams

[CL 2370073 by Rolando Caloca in Main branch]
2014-11-25 17:53:45 -05:00
Rolando Caloca
507b6fc7df UE4 - Metal - Backend changes in prep for compute shaders
[CL 2355158 by Rolando Caloca in Main branch]
2014-11-10 17:24:44 -05:00
Rolando Caloca
a21742a13e UE4 - Fix bogus warning compiling Metal shaders
[CL 2324712 by Rolando Caloca in Main branch]
2014-10-09 18:08:01 -04:00
Rolando Caloca
b61809b923 UE4 - Mac compile fixes
[CL 2316687 by Rolando Caloca in Main branch]
2014-10-01 18:16:34 -04:00
Rolando Caloca
3fd8c0b1d3 UE4 - hlslcc - Move files out from mesa
[CL 2315208 by Rolando Caloca in Main branch]
2014-09-30 18:44:44 -04:00
Rolando Caloca
e3fd63ec34 UE4 - Move glsl backend out of ThirdParty into ShaderFormatOpenGL
[CL 2310098 by Rolando Caloca in Main branch]
2014-09-25 14:27:21 -04:00
Rolando Caloca
e55e4ce114 UE4 - Fix Mac compile issues
[CL 2309876 by Rolando Caloca in Main branch]
2014-09-25 11:26:41 -04:00
Rolando Caloca
8f39508dd0 UE4 - hlslcc - Metal backend from ThirdParty to Engine module
[CL 2309668 by Rolando Caloca in Main branch]
2014-09-25 09:16:01 -04:00