Commit Graph

32 Commits

Author SHA1 Message Date
Zousar Shaker
c50196f2cc Use a hierarchical versioning scheme for texture build functions.
#rb devin.doucette

[CL 16861933 by Zousar Shaker in ue5-main branch]
2021-07-15 09:58:48 -04:00
Zousar Shaker
b866ed60eb 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

[CL 16853856 by Zousar Shaker in ue5-main branch]
2021-07-14 15:26:40 -04:00
Dan Thompson
2b3026adf9 CIS mac fix hopeful -- CIS seems to not find include paths when they aren't in Public or Private, so I'm moving the Jobify code to be under Private. Preflight has always passed for all of these breakages, so I sort of have to just commit and hope. I'll be keeping an eye on it. #fyi charles.bloom #fyi michael.noland
#preflight 60d66533a34bf500018c4958

[CL 16790730 by Dan Thompson in ue5-main branch]
2021-06-25 21:03:10 -04:00
michael noland
574b26a873 [Backout] - CL16789815
#fyi Michael.Noland
Original CL Desc
-----------------------------------------------------------------
Speculative fix for Mac CIS error
#codereview dan.thompson

[CL 16790187 by michael noland in ue5-main branch]
2021-06-25 19:07:36 -04:00
Michael Noland
cc2126b7a5 Speculative fix for Mac CIS error
#codereview dan.thompson

[CL 16789815 by Michael Noland in ue5-main branch]
2021-06-25 18:32:18 -04:00
Dan Thompson
e13973e1f5 Move objective C files to a Mac subdirectory to fix the clang win64 build
#preflight 60d55d5819a006000180fdee

[CL 16781722 by Dan Thompson in ue5-main branch]
2021-06-25 01:58:30 -04:00
Dan Thompson
936df062d1 allegedly a temporary fix for native mac/linux editor while I set up a proper path.
[CL 16779185 by Dan Thompson in ue5-main branch]
2021-06-24 17:57:05 -04:00
Dan Thompson
840753b4f4 Oodle TFO: Add oodle's example jobify system, enabled via config.
#rb charles.bloom
#preflight 60d4dc4b925f1400011d6121

[CL 16778647 by Dan Thompson in ue5-main branch]
2021-06-24 17:07:11 -04:00
Dan Thompson
96f483f51e Oodle TFO: Change EffortLevel INI parameter to use strings, so that we aren't tied to hard coded values oodletex.h claims can change.
#rb charles.bloom
#preflight 60d358b0be81e80001c2e476

[CL 16759351 by Dan Thompson in ue5-main branch]
2021-06-23 13:18:20 -04:00
Dan Thompson
080fcdd027 Oodle: Add INI setting for RDO universal tiling
#rb charles.bloom
#preflight 60d1220ed4d7ac00019018e1
#preflight 60d21a74be81e800018618bb
#preflight 60d24e022ab218000166753a

[CL 16750597 by Dan Thompson in ue5-main branch]
2021-06-22 18:21:22 -04:00
Zousar Shaker
88099e4a88 Fix TextureFormatOodle changes that were accidentally stomped by my DDC2 check-in.
#rb charles.bloom
#preflight 60d15b4aa81904000133affc

[CL 16738595 by Zousar Shaker in ue5-main branch]
2021-06-22 00:31:32 -04:00
Devin Doucette
16b7293fea 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

[CL 16714489 by Devin Doucette in ue5-main branch]
2021-06-17 18:58:04 -04:00
charles bloom
bc63657cf6 Update Oodle to 2.9.2
no encoding is changed in 2.9.2 so ddc version is not incremented
292 just fixes a crash bug in an option that is not yet used in Unreal

[CL 16697478 by charles bloom in ue5-main branch]
2021-06-16 18:16:12 -04:00
Brandon Schaefer
da6e2eb1e2 Rename LinuxAArch64 to LinuxArm64
#jira UE-118127
#rb Michael.Sartain
#fyi Marc.Audy, Aurel.Cordonnier

[CL 16660821 by Brandon Schaefer in ue5-main branch]
2021-06-14 13:39:47 -04:00
charles bloom
2caa44dad0 update Oodle libs to 2.9.1
TextureFormatOodle use the new RDO_Ex API
bump Oodle Texture DDC ver from 11 to 12

#rb alexander.suvorov

[CL 16589165 by charles bloom in ue5-main branch]
2021-06-08 13:12:42 -04:00
Zousar Shaker
a6bd40e38d -Fix bug in the interpretation of mip offset in FTextureBuildFunction (it is offset into uncomrpessed data, not offset into compressed data)
-Added more metadata to the output of the texture export feature.
-Make FTextureBuildFunction stateless and abstract.  Now must be derived to produce an instantiable build function.
-Made PS5TextureFormat, TextureFormatOodle, and TextureFormatUncompressed modules depend on TextureBuild module and implement concrete derivatives of FTextureBuildFunction.
-Made PS5TextureFormat, TextureFormatOodle, and TextureFormatUncompressed modules register their build functions through an IBuildFunctionFactory for the lifetime of the module.
-Removed all public interface for the DerivedDataBuild{Loop, Worker} and have them just use the IBuildFunctionFactory modular feature to find all linked build functions.

#rb devin.doucette
#preflight 60acfb486905a60001c3cd29

[CL 16448407 by Zousar Shaker in ue5-main branch]
2021-05-25 10:37:34 -04:00
Zousar Shaker
35cb1325a8 -Avoid having dependency on Engine by TextureFormatOodle by avoiding use of UTexture and getting
-Add mechanism for ITextureFormat to have a generic and private "FormatSettings" block that can be global, but also exported with a texture build action and applied when a texture build is executed remotely.  Also ensure that ChildTextureFormat is able to split and store/read the format settings for Child & Base format as separate sub-items.
-Allow the PS5TextureBuildWorker to compile in Oodle if the plugin is present and enabled.

#rb charles.bloom

[CL 16406838 by Zousar Shaker in ue5-main branch]
2021-05-20 14:19:29 -04:00
charles bloom
290304bd73 fix VT cooks of Oodle Texture data were single threaded
fix that by disabling Oodle Texture internal threading
not disabling VT tile threading

#rb danny.couture, alexander.suvorov

[CL 16389238 by charles bloom in ue5-main branch]
2021-05-19 13:34:37 -04:00
charles bloom
940d32c39d TextureFormatOodle optional subdir for debug dump and ddc key uniquing
#rb none

[CL 16354194 by charles bloom in ue5-main branch]
2021-05-17 12:29:09 -04:00
danny couture
040a1d38ac Fix long waits on the game thread when we're waiting on a specific texture to finish synchronously and the taskgraph is full of background tasks
#rb Charles.Bloom

[CL 16331336 by danny couture in ue5-main branch]
2021-05-14 12:51:23 -04:00
alexander suvorov
9ae202b0ca Implement image dump functionality for Oodle texture compression.
#rb charles.bloom

[CL 16319306 by alexander suvorov in ue5-main branch]
2021-05-13 17:19:11 -04:00
alexander suvorov
f8880b6509 Avoid image copy when performing Oodle image compression and image format matches Oodle input format.
#rb charles.bloom

[CL 16314034 by alexander suvorov in ue5-main branch]
2021-05-13 12:02:53 -04:00
charles bloom
acdef332c9 TextureFormatOodle: make log verbosity a config option
add debug dump option, not yet implemented

#rb none
#fyi alexander.suvorov

[CL 16244639 by charles bloom in ue5-main branch]
2021-05-09 11:25:08 -04:00
charles bloom
c993c6f0fc TextureFormatOodle use 16 bit input for BC4/5
#rb alexander.suvorov

[CL 16216327 by charles bloom in ue5-main branch]
2021-05-05 20:58:10 -04:00
charles bloom
0a083579c2 fix comment
#rb none

[CL 16081047 by charles bloom in ue5-main branch]
2021-04-21 16:46:28 -04:00