Commit Graph

122 Commits

Author SHA1 Message Date
alexander suvorov
aae1e9742d Expose Preserve Extremes Oodle encoding option in Texture Editor UI.
#jira UE-161928
#rb Dan.Thompson

[CL 27571641 by alexander suvorov in ue5-main branch]
2023-09-01 19:25:25 -04:00
charles bloom
6010bd0780 Use 2xU16 instead of 4xU16 for BC4/5 texture image format in TextureFormatOodle
#preflight https://horde.devtools.epicgames.com/job/64408bad73470c177cbf749a
#rnx
#rb fabian.giesen

[CL 25129718 by charles bloom in ue5-main branch]
2023-04-20 12:32:12 -04:00
charles bloom
7484e2248d TFO: make Unsupported OodleTextureSdkVersion a warning instead of an error and still do a valid texture encode
#rb none
#preflight none

[CL 25120800 by charles bloom in ue5-main branch]
2023-04-19 20:28:52 -04:00
fabian giesen
be2d20840a Oodle 2.9.10b
#rb charles.bloom
#preflight 6440590cbf10538466cb1bc1

[CL 25120387 by fabian giesen in ue5-main branch]
2023-04-19 19:53:52 -04:00
charles bloom
1bbb1b066b [Backout] - CL25105799
[FYI] charles.bloom
Original CL Desc
-----------------------------------------------------------------
Oodle 2.9.10

#rb dan.thompson
#preflight 643db4209566b6145001370a

[CL 25116854 by charles bloom in ue5-main branch]
2023-04-19 17:35:31 -04:00
charles bloom
420b6f6adb TextureCompressorModule : run hashing for metadata on an async task
change FImage passed to TextureFormat to be const, it must not be changed becausing hashing is running threaded
remove early frees of intermediate image; this increases peak memory use

#preflight https://horde.devtools.epicgames.com/job/643ff4a3090323f9a3f7695e
#rb dan.thompson

[CL 25116608 by charles bloom in ue5-main branch]
2023-04-19 17:29:39 -04:00
fabian giesen
6967479223 Oodle 2.9.10
#rb dan.thompson
#preflight 643db4209566b6145001370a

[CL 25076606 by fabian giesen in ue5-main branch]
2023-04-17 17:22:50 -04:00
charles bloom
197dfb19e6 nop just comments, clean up some todo Oodle marks
#rb none
#preflight none

[CL 24950141 by charles bloom in ue5-main branch]
2023-04-06 14:21:41 -04:00
Dan Thompson
9a6a7a84d9 Plumb the mip layout down to the child texture ddc key versions as certain child formats need to know mip dimensions in order to know if aspects of the build affect the textures, as well as note in the extended data whether the texture tiling is sensitive to LODBias so that textures that change layouts as a result of that are independent in the ddc.
This also fixes the missing include path for TextureFormat.Build.cs

#rb fabian.giesen
#rb charles.bloom
#preflight 6421fa27974dfaa53cb188e5

[CL 24808879 by Dan Thompson in ue5-main branch]
2023-03-27 16:39:53 -04:00
Dan Thompson
6acfb3256c [Backout] - CL24678894
#fyi Dan.Thompson
Original CL Desc
-----------------------------------------------------------------
Plumb the mip layout down to the child texture ddc key versions as certain child formats need to know mip dimensions in order to know if aspects of the build affect the textures.
#rb fabian.giesen
#rb charles.bloom
#preflight 641378f03f3d31c94a2e86b5
#preflight 64149d297d1280ffe750d78e

[CL 24691763 by Dan Thompson in ue5-main branch]
2023-03-17 13:13:02 -04:00
Dan Thompson
98bcf4f1cb Plumb the mip layout down to the child texture ddc key versions as certain child formats need to know mip dimensions in order to know if aspects of the build affect the textures.
#rb fabian.giesen
#rb charles.bloom
#preflight 641378f03f3d31c94a2e86b5

[CL 24678894 by Dan Thompson in ue5-main branch]
2023-03-16 16:42:02 -04:00
Dan Thompson
5a737ea6bc Texture tiling fix.
Certain platforms that tile textures will tile non pow2 textures with mips different than non pow2 textures without mips, so we need to plumb down information about the mip chain to the tiling texture formats.
#rb fabian.giesen
#preflight 64068553aa00423335f30765

[CL 24546549 by Dan Thompson in ue5-main branch]
2023-03-07 15:15:48 -05:00
charles bloom
2cb02ca145 TFOodle and OodleDXTTextureFormat : rename insights scopes to make it clear which is which
#rb fabian.giesen
#preflight none

[CL 24197528 by charles bloom in ue5-main branch]
2023-02-13 20:10:26 -05:00
fabian giesen
de13e1a64f Update to Oodle 2.9.9
#rb dan.thompson
#preflight 63e41180e042058d699b25c7

[CL 24083736 by fabian giesen in ue5-main branch]
2023-02-08 17:07:57 -05:00
charles bloom
a0cb917883 Oodle Texture nicer display names for information tab
#rb dan.thompson
#preflight none

[CL 23953046 by charles bloom in ue5-main branch]
2023-02-01 13:24:48 -05:00
henrik karlsson
ea8ea49aa2 [UBT]
* Changed lots of modules to use IWYUSupport instead of bEnforceIWYU (which is being deprecated)

#preflight 63bc8486c45a2c81e0b14fe8
#rb none

[CL 23641460 by henrik karlsson in ue5-main branch]
2023-01-11 01:32:59 -05:00
Dan Thompson
f3d53d2ba3 Fix for mip generation for child platforms unnecessarily linearizing.
TextureFormatOodle is the only format that returns true for CanAcceptNonF32Source(), which allows the build system to occasionally avoid converting to an F32 input to the compressor. However, the ChildTextureFormat for offline platform processing did not forward this function so this conversion was happening unnecessarily.

This manifested as a DDC determinism issue with the PreEncodeHash when enabling shared linear encoding, where the output mip data would be the same (as the F32 conversion would round trip without change), however the input to the convertor would change between platforms.

Since Oodle is the only format that routes this, we can invalidate only this format and avoid a worldwide rebuild.

#rb charles.bloom
#preflight 638fcd007e0feab0b77ad3f3

[CL 23419050 by Dan Thompson in ue5-main branch]
2022-12-06 18:20:21 -05:00
henrik karlsson
f01581365c Disabled IWYU on some modules that was too much work to make them compile in a IWYU environment. These should be revisited and fixed up to work with IWYU at some point
#preflight 63789b0c170bc34a93a869e5
#rb none

[CL 23218413 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:29 -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
48ea639682 TextureFormatOodle : remove bForceAllBC23ToBC7 option
it was unused and is more prone to cause problems than help

#rb none
#preflight none

[CL 22714454 by charles bloom in ue5-main branch]
2022-10-23 10:36:56 -04:00
charles bloom
6c3450ead6 TextureFormatOodle: LLM tag malloc, and add DebugInfo context to Jobify
#preflight 6352a9c4cb31f106ced66ed9
#rb dan.thompson,fabian.giesen

[CL 22711111 by charles bloom in ue5-main branch]
2022-10-22 12:11:23 -04:00
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04:00
fabian giesen
591ad86e1c Update Oodle Texture libs to 2.9.6b, 2.9.7b, 2.9.8c
Fixes an integer overflow issue that can lead to crashes when encoding textures.

#rb charles.bloom
#preflight 634f254aa1527f6b3bef670a

[CL 22647390 by fabian giesen in ue5-main branch]
2022-10-19 21:59:56 -04:00
charles bloom
61cedd835a TextureFormatOodle validate memory before passing to Oodle Texture
#rb fabian.giesen,dan.thompson
#preflight none

[CL 22505514 by charles bloom in ue5-main branch]
2022-10-13 11:39:06 -04:00
josh adams
e767d53dce - Fixed DeviceProfile inheriting LODGroups from parent DP when there are no LOD groups specified (in this case, it was getting all LODgroups from the class defaults, and then it would never copy parent settings down, and would have defaults instead of parent values)
- Fixed a bug in the SectionName remapping system
#jira UE-165868
#rb dan.thompson
#preflight 63407bed587d6afac86b4453

[CL 22411128 by josh adams in ue5-main branch]
2022-10-07 18:10:19 -04:00