Commit Graph

152 Commits

Author SHA1 Message Date
Rolando Caloca
dc2ade0796 UE4 - hlslcc - Metal - Fix texture sampled with different samplers
[CL 2514987 by Rolando Caloca in Main branch]
2015-04-16 17:03:26 -04:00
Marc Audy
6fbd586187 Disable shadow variable warnings around third party includes that throw warnings
[CL 2510513 by Marc Audy in Main branch]
2015-04-13 13:43:25 -04:00
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
1033b06e67 UE4 - Metal - Fix texture arrays
[CL 2488158 by Rolando Caloca in Main branch]
2015-03-23 14:50:36 -04:00
Rolando Caloca
8827cb7a4a UE4 - Metal - fixed bug with previous check-in (depth samplers)
- Initial support for texture arrays

[CL 2488058 by Rolando Caloca in Main branch]
2015-03-23 14:05:22 -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
a1f4fdf0be UE4 - Metal - Fix bad uav dereference
Glsl - Better variable names

[CL 2486692 by Rolando Caloca in Main branch]
2015-03-20 16:18:49 -04:00
Rolando Caloca
1362eb3a75 UE4 - Metal - Change fmax/fmin to max/min when using int/uint types
- Change local var name to match type for easier debugging

[CL 2486219 by Rolando Caloca in Main branch]
2015-03-20 11:31:48 -04:00
Allan Bentham
64090df1f4 Ensure correct assignment of emulated (ES2) uniform buffer indices for UB's generated within BuildResourceTableMapping(). Typically arises when only sampler related parameters are encountered.
Fixes UE-9804 and probably more.

#codereview nick.penwarden, Rolando.Caloca

[CL 2482912 by Allan Bentham in Main branch]
2015-03-18 08:03:21 -04:00
Terence Burns
08ff5fa6d1 https://jira.ol.epicgames.net/browse/UEPLAT-514
Adding Texture LOD settings to Device Profiles
- this will improve how we currently edit and override lod settings on a per device type bases.
- LOD Settings can now be set in the Device Profile Editor
- Any device profiles with no values set for LOD Settings, will use the default objects.
- These can be found in BaseDeviceProfiles.ini in the /Script/Engine.TextureLODSettings section
- Appropriate defaults set for those groups not listed.

-Other fixes
- - Incorrect with_editor check in HTML5 target platform, changed to with_engine

[CL 2481510 by Terence Burns in Main branch]
2015-03-17 09:50:32 -04:00
Peter Sauerbrei
a0d1f0689a CIS fix
[CL 2480112 by Peter Sauerbrei in Main branch]
2015-03-16 10:06:56 -04:00
Peter Sauerbrei
bf88d178d6 disable IOS device network pings as we aren't using them right now and they seem to be causing occasional crashes
UE-11815
#ios

[CL 2480107 by Peter Sauerbrei in Main branch]
2015-03-16 10:05:21 -04:00
Peter Sauerbrei
55ef34904d SSH is now ready for use when building iOS from PC
UEPLAT-95
#ios

[CL 2480102 by Peter Sauerbrei in Main branch]
2015-03-16 10:01:04 -04:00
Josh Adams
644229ceb0 - Proper fix for WITH_ENGINE = 0
[CL 2479350 by Josh Adams in Main branch]
2015-03-13 18:16:26 -04:00
Josh Adams
c25c0ffd05 - Fixed a compile error when WITH_ENGINE is false
[CL 2478987 by Josh Adams in Main branch]
2015-03-13 15:49:11 -04:00
Josh Adams
a98d6d5f5c - Changed Android ES31+AEP support from a TargetPlatform to a checkbox that works with any Android TP
- Moved HighQualityLightmap support check to IOSTargetPlatform so it can check project settings for Metal support
- Fixed some issues running on an x86_64 device
- Cleaned up some unused functions in TargetPlatform
#codereview niklas.smedberg

[CL 2478853 by Josh Adams in Main branch]
2015-03-13 14:05:13 -04:00
Rolando Caloca
be71ff1af5 UE4 - hlslcc - Reduce memory leaks (missing Linux libs)
#codereview Dmitry.Rekman

[CL 2473774 by Rolando Caloca in Main branch]
2015-03-10 10:40:42 -04:00
Marc Audy
037d007078 Fix shadowed variables
[CL 2471506 by Marc Audy in Main branch]
2015-03-06 15:13:38 -05:00
Rolando Caloca
6868525794 UE4 - hlslcc - Cleanup parser state & change hlslcc entry point to be a class in prep for moving to the Engine (missing Linux libraries)
odereview Dmitry.Rekman

[CL 2471354 by Rolando Caloca in Main branch]
2015-03-06 13:09:36 -05:00
Peter Sauerbrei
3dbe290574 fix for not finding a provision when the bundle identifier has been changed
UE-11207
#ios

[CL 2466825 by Peter Sauerbrei in Main branch]
2015-03-02 15:51:39 -05:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Rolando Caloca
ff538da9bf UE4 - Fixes UE-10562
hlslcc - Fix empty if() generation
Converts from
if(!EXPR) {}
to
EXPR
#codereview Mark.Satterthwaite, Chris.Babcock, Dmitry.Rekman, Michael.Trepka

[CL 2457355 by Rolando Caloca in Main branch]
2015-02-23 18:55:44 -05:00
Jamie Dale
06ab441b31 Cleaned up the parent class tree when adding new component classes
UE-9554 - Add BP/C++ Component's Show all classes list not expanded by default

It now hides the Object root if UObject is not a valid base class type, as this allows the next level of classes to be expanded out which looks much better when adding new component classes.

This involved a lot of shuffling of module dependencies so that we could link GameProjectGeneration to ClassViewer, as previously ClassViewer was directly linking to GameProjectGeneration.

I went through and fixed everything that was linking to GameProjectGeneration to instead list it as a dynamic dependency (which it is, as nothing needs to link to it), and then verified that everything was using ClassViewer correctly (found some places that were only marking it as a dynamic dependency without also adding it as an include module, causing issues with missing API macro definitions as they were including ClassViewer headers via a relative include path).

#codereview Andrew.Rodham

[CL 2451499 by Jamie Dale in Main branch]
2015-02-19 08:07:13 -05:00
Josh Adams
56440f0048 - First checkin for the new DesktopTargetPlatform that will be able to cook packages for Windows, Mac, and Linux. So far, cooking on Windows and Mac and run on each other (with -opengl on Windows, since Mac can't currently compile D3D shaders)
[CL 2448658 by Josh Adams in Main branch]
2015-02-17 09:57:44 -05:00