Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main

#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
This commit is contained in:
Rolando Caloca
2020-01-24 18:07:01 -05:00
parent 421d6516ca
commit bbb9564388
1126 changed files with 110513 additions and 21173 deletions

View File

@@ -689,7 +689,6 @@ public:
bOpenGL3x = DeviceInfo->OpenGLVersionString.Contains(TEXT("OpenGL ES 3"));
if (bOpenGL3x)
{
DeviceSpecs.AndroidProperties.GLES31RHIState.SupportsInstancing = true;
DeviceSpecs.AndroidProperties.GLES31RHIState.MaxTextureDimensions = 4096;
DeviceSpecs.AndroidProperties.GLES31RHIState.MaxShadowDepthBufferSizeX = 2048;
DeviceSpecs.AndroidProperties.GLES31RHIState.MaxShadowDepthBufferSizeY = 2048;
@@ -700,8 +699,8 @@ public:
}
// OpenGL ES 2.0
UE_CLOG(!bOpenGL3x, LogCore, Fatal, TEXT("OpenGL ES 3 Required."));
{
DeviceSpecs.AndroidProperties.GLES2RHIState.SupportsInstancing = false;
DeviceSpecs.AndroidProperties.GLES2RHIState.MaxTextureDimensions = 2048;
DeviceSpecs.AndroidProperties.GLES2RHIState.MaxShadowDepthBufferSizeX = 1024;
DeviceSpecs.AndroidProperties.GLES2RHIState.MaxShadowDepthBufferSizeY = 1024;