Fix ASTC mapping for BC6 and BC7

Fix ASTC HDR support
Fix up ASTC & ISPC texture formats a bit

#preflight 628cedc7347b7778b6b8745e
#rb jon.olick,fabian.giesen

[CL 20348873 by charles bloom in ue5-main branch]
This commit is contained in:
charles bloom
2022-05-24 11:21:35 -04:00
parent 6634c13b8b
commit f99959bbc4
14 changed files with 410 additions and 261 deletions

View File

@@ -24,10 +24,16 @@ public:
{
if (FAndroidTargetPlatform::IsUsable())
{
// ensure this is only called once
check( SinglePlatforms.IsEmpty() );
for (int32 Type = 0; Type < 2; Type++)
{
bool bIsClient = Type == 1;
// flavorless must come first
// "flavorless" (aka "vanilla") Android is not well defined and not actually usable
// but Editor wants to see it in the platform list
SinglePlatforms.Add(new FAndroidTargetPlatform(bIsClient, nullptr));
SinglePlatforms.Add(new FAndroid_ASTCTargetPlatform(bIsClient));
SinglePlatforms.Add(new FAndroid_DXTTargetPlatform(bIsClient));