Added DDM_AllOpaque to ensure we get a prepass for all opaque objects including non-occluders when in shader complexity viewmode.
UE-6667
#code_review: Nick.Penwarden
[CL 2390814 by Jack Porter in Main branch]
- Addes 3_1 define on shaders
- Fixes GL packed uniforms array size incorrect assert
- Disallows running the editor with -featureleveles2
- r.MobileHDR is now read-only
- Moved some checks from SM3 to SM4
[CL 2270866 by Rolando Caloca in Main branch]
#ttp 331829 - Mobile Preview in Editor
#proj Engine
#branch UE4
#summary First pass of changes to remove GRHIFeatureLevel, allowing for multiple scenes with different feature levels to exist. First step towards dynamic mobile preview in the editor.
#change Added GMaxRHIFeature level which contains the highest supported feature level on this machine
#change Added a cvar "r.FeatureLevelPreview" which, when set to 1, enables a feature level selection in the quick settings menu. Not wired up to anything at the minute
#change Added a feature level variable to FScene, which is currently initialized to whatever GRHIFeatureLevel is. Accessed with GetFeatureLevel()
#change Added a helper accessor GetFeatureLevel() to FSceneView which gets the feature level from the relevant scene. Purely to reduce the amount of typing needed to get to a feature level
#change Many changes across the renderer to try and read the current feature level from the view or scene. Not everything is done yet, but this is almost all of the "easy" stuff. As there is still just a global feature level in the engine, nothing should change.
[CL 2066905 by Graeme Thornton in Main branch]
* MeshModifiesMaterialPosition now uses the result of the material translator to determine whether WPO is used.
* Added MaterialModifiesMeshPosition. Only intended for use in deciding whether or not shader permutations are required. Uses a conservative estimate - if the WPO pin is hooked up or the material uses material attributes input
* Updated shader DDC versions.
* bUsesEyeAdaptation in now correctly serialized for FMaterialCompilationOutput
[CL 2056272 by Joe Tidmarsh in Main branch]