Commit Graph

61 Commits

Author SHA1 Message Date
Dmitriy Dyomin
89d7af656d Fixed: broken ASTC HDR compression
#jira none
#preflight 63b3f15cc6265e21bcdc1a81
#rb wei.iu
#fyi charles.bloom, jeannoe.morissette

[CL 23565227 by Dmitriy Dyomin in ue5-main branch]
2023-01-03 08:20:10 -05:00
Dan Thompson
8b4692d085 Remove "mutable" parts of the build settings. For platforms that need the mip dimensions, this is now piped down via a parameter instead of violating "const".
#rb fabian.giesen
#rb charles.bloom
#preflight 636987d7dc30a4ce96651026

[CL 23021179 by Dan Thompson in ue5-main branch]
2022-11-07 18:29:15 -05:00
charles bloom
464ba56fe9 astcenc use correct gamma space encoder mode
TextureFormatASTC

#preflight 6321fb97b602881e8e296eb3
#rb dan.thompson

[CL 22012868 by charles bloom in ue5-main branch]
2022-09-14 14:57:08 -04:00
charles bloom
1db99db5b7 fix astcenc swapping RB in TextureFormatASTC
also new cvars to run the decoder and leave temp files :
cook.ASTCDebugLeaveTempFiles=1
cook.ASTCDebugWriteDecodedImage=1

#preflight 631f61f822433f4f5c69f181
#rb none

[CL 21982673 by charles bloom in ue5-main branch]
2022-09-13 10:45:34 -04:00
charles bloom
6c14f474e8 update ASTCenc to 3.7
ASTCenc is not currently used (ISPCTexcomp is)

#preflight 62f42bda466f8c150dc1445a
#rb fabian.giesen

[CL 21328759 by charles bloom in ue5-main branch]
2022-08-10 18:42:49 -04:00
charles bloom
3cf577ad9a comments only : clean up some todo marks
#rb none
#preflight none

[CL 21326622 by charles bloom in ue5-main branch]
2022-08-10 17:26:50 -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
a70c6d6371 TextureFormatASTC better logs
#rb none
#preflight none

[CL 20352025 by charles bloom in ue5-main branch]
2022-05-24 14:03:10 -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
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
02c1f6e23e fix many bad things in TextureFormatASTC
also robustinate

#preflight 6250a7e949714edddfe2ea15
#rb fabian.giesen

[CL 19698620 by charles bloom in ue5-main branch]
2022-04-08 19:20:14 -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
wei liu
921ae9433a Fix a compiling issue of ASTC compressor.
#jira none

#rb Dmitriy.Dyomin
#preflight 61387f6a9c40ec000120d89f

#ROBOMERGE-AUTHOR: wei.liu
#ROBOMERGE-SOURCE: CL 17457012 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17457017 by wei liu in ue5-release-engine-test branch]
2021-09-08 08:17:09 -04:00
yangke li
f5e3b990ae fix compile issue in no unity build
#ROBOMERGE-AUTHOR: yangke.li
#ROBOMERGE-SOURCE: CL 17442356 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17442357 by yangke li in ue5-release-engine-test branch]
2021-09-07 04:26:54 -04:00
yangke li
abb9346236 add ARM ASTC Encoder, support HDR profile, add astc hdr pixel format for opengl, vulkan and metal
todo:  hdr decode at runtime when astc hdr not supported
needs to figure out why ARM Encoder is much slower than ISPC, use ARM only for HDR Textures might be a good compromise.
#jira UE-119388

#ROBOMERGE-AUTHOR: yangke.li
#ROBOMERGE-SOURCE: CL 17441496 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17441499 by yangke li in ue5-release-engine-test branch]
2021-09-07 01:24:23 -04: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