Commit Graph

57 Commits

Author SHA1 Message Date
adam kinge
446e55b108 Add full path to macOS dylib
#jira UE-157345
#review @jack.porter
#fyi will.damon, billy.quick
#preflight 62c49ab32823f28cf247311f

[CL 20967967 by adam kinge in ue5-main branch]
2022-07-06 11:41:18 -04:00
charles bloom
60eb0735b4 reduce texture build memory use by freeing source images when no longer needed
#preflight 62b72389ff7f5dd87e2f5573
#rb fabian.giesen,dan.thompson

[CL 20830728 by charles bloom in ue5-main branch]
2022-06-27 10:44:18 -04:00
Dan Thompson
0c889685e3 Updating the mip packing and tiling interfaces to not require image bits. This is required to determine memory layouts for textures prior to launching texture builds.
#rb fabian.geisen
#preflight 62a90ea9943e7bb256c39717

[CL 20659876 by Dan Thompson in ue5-main branch]
2022-06-14 19:00:42 -04:00
will damon
d8552d7b32 Update ISPCTextureCompressor libraries.
- Latest ISPCTextureCompressor brings a number of bug fixes and includes Apple silicon support.
- Update IntelISPCTexComp.Build.cs to reference new paths
- Update Windows (x64), Linux (thanks MikeS!) and Mac dynamic libraries
- Remove Win32 dynamic libraries
- Enable ShaderCompileWorker as an arm64 native target for UAT
- Bump ASTC and ISP_ASTC version numbers (for DDC)

#rb josh.adams, chris.babcock
#fyi charles.bloom, jeff.newquist
#jira UE-145047, UE-145025, UE-150669, UE-154182
#rnx
#preflight 629a0abe2230bd91403f0f02

[CL 20487296 by will damon in ue5-main branch]
2022-06-03 11:39:35 -04:00
charles bloom
593fab6f69 Clamp F16 in valid range for BC6H in ISPC and ASTC, also set A to 1
even though ASTC could encode other values of A, still clamp as if it was BC6H for consistency
now all compressed HDR formats should clamp the same way that Oodle Texture currently does

#preflight 6296556c452ffe576a816993
#rb fabian.giesen

[CL 20440882 by charles bloom in ue5-main branch]
2022-05-31 15:49:40 -04:00
charles bloom
2459250cc1 ISPCTexComp ASTC fix need to use alpha profile for NormalAG
also improve debug dump faccility

#preflight 628fab5274630984fd42ad4f
#rb devin.doucette

[CL 20395092 by charles bloom in ue5-main branch]
2022-05-27 12:58:42 -04:00
charles bloom
f99959bbc4 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]
2022-05-24 11:21:35 -04:00
charles bloom
dabdaeda09 nop just comment cleanups
#rb none
#preflight none

[CL 20284987 by charles bloom in ue5-main branch]
2022-05-19 15:04:56 -04:00
charles bloom
29ade7e00c nop comment about bad DDC Key behavior of TextureFormatASTC with ISPC
#rb none
#preflight none

[CL 19743754 by charles bloom in ue5-main branch]
2022-04-13 15:02:10 -04:00
charles bloom
8ae7d38da9 TexureFormats: delay load DLLs for ISPC and ETC2 which should be rarely used now
#preflight 625197c39d38f1067da28b18
#rb none

[CL 19701127 by charles bloom in ue5-main branch]
2022-04-09 14:22:40 -04:00
charles bloom
be238dee17 fix failures on texture import of rare cases
fix RHI upload of textures that are multiple of 4 in top mip but not in lower mips
dont pad CompressedImage sizes, store true size
clean up Texture size limits and VT conditions
better default settings for texture import
clean up initialization order of TextureFormatManagerModule

#preflight 6250814a11261bc7b23d8f4b
#rb fabian.giesen,julien.stjean

[CL 19693287 by charles bloom in ue5-main branch]
2022-04-08 16:06:54 -04:00
charles bloom
d5b7476357 make image copying to Pow22 gamma a warning and prevent callers from doing so
pow22 should old be used as a source gamma
dest gamma should always be srgb or linear

#preflight 62432a61df7d23dbfeeb57bc
#rb none

[CL 19543713 by charles bloom in ue5-main branch]
2022-03-29 12:16:51 -04:00
devin doucette
cdedb37d66 DDC: Converted the Build API to UTF-8 where appropriate
#jira UE-133382
#rb Zousar.Shaker
#rnx
#preflight 61e798ee3f00a0a23ef78c49

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18655307 in //UE5/Release-5.0/... via CL 18655320 via CL 18655322
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18655349 by devin doucette in ue5-main branch]
2022-01-19 00:27:48 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
zousar shaker
665aa69dcb Allow Oodle texture plugin & module to be overridden by project configuration when building standalone texture build workers.
#rb devin.doucette

#ROBOMERGE-SOURCE: CL 17107168 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v854-17104634)

[CL 17107188 by zousar shaker in ue5-release-engine-test branch]
2021-08-09 16:33:30 -04:00
zousar shaker
08276955eb Use a hierarchical versioning scheme for texture build functions.
#rb devin.doucette

#ROBOMERGE-SOURCE: CL 16861933 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16861938 by zousar shaker in ue5-release-engine-test branch]
2021-07-15 09:59:12 -04:00
zousar shaker
a48d9e9497 Expand texture build functions to all current texture formats.
Expand texture build workers to all current platform specific texture formats, or added build functions to the base build worker.  Workers are buildable, but not discoverable yet as discovery will be refactored soon to use Target Receipts.
Reduce boilerplate involved in setup of build worker.

#rb devin.doucette

#ROBOMERGE-SOURCE: CL 16853856 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16853877 by zousar shaker in ue5-release-engine-test branch]
2021-07-14 15:27:36 -04:00
devin doucette
1d45cefecb Texture: Remove the UTexture parameter from ITextureFormat::GetDerivedDataKeyString
This is necessary to support building textures independently of the UTexture, which is required by the new derived data build interface.

#rb Zousar.Shaker
#rnx
#preflight 60cbbb906092ba000158179a

#ROBOMERGE-SOURCE: CL 16714489 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16714496 by devin doucette in ue5-release-engine-test branch]
2021-06-17 18:59:40 -04:00
charles bloom
05b4b19678 Float16Color use VectorStoreHalf/VectorLoadHalf
add SSE2 half conversions

#rb alexander.suvorov
#fyi rod.bogart

[CL 16135278 by charles bloom in ue5-main branch]
2021-04-27 20:41:39 -04:00
danny couture
d5ba6e94d9 Remove BackgroundPriority to let the ParallelFor auto select the best priority depending on which thread is launching the paralllelfor
i.e. This allows latency sensitive texture compression parallelfor from the gamethread to benefit from all the foreground threads and complete faster

#rb Arne.Schober

[CL 15387719 by danny couture in ue5-main branch]
2021-02-11 11:01:47 -04:00
Arne Schober
df09d6779f U5 - Move TextureCompression into ParallelFor
[CL 15378859 by Arne Schober in ue5-main branch]
2021-02-10 15:26:28 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
gabriel mukobi
5f668c6f32 Rounding of FLinearColor to FColor (and [0,255] uint8 to [0,1] float) according to standard methods
#jira UE-95697
#rb rod.bogart

[CL 14475373 by gabriel mukobi in ue5-main branch]
2020-10-12 17:37:24 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00