Skip to content

Commit 3373e49

Browse files
[PPV2] Remove PVRTC support (#8168)
* Remove PVRTC support on Unity 6.1 and newer * Update CHANGELOG
1 parent c9606e8 commit 3373e49

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

com.unity.postprocessing/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
- Added Switch2 platform support
1111

1212
### Fixed
13-
-
13+
- Remove support for PVRTC format in Unity 6.1 or newer
1414

1515
## [3.4.0] - 2023-12-11
1616

com.unity.postprocessing/PostProcessing/Runtime/Utils/TextureFormatUtilities.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ static TextureFormatUtilities()
4545
{ (int)TextureFormat.DXT1Crunched, RenderTextureFormat.ARGB32 },
4646
{ (int)TextureFormat.DXT5Crunched, RenderTextureFormat.ARGB32 },
4747
#endif
48+
#if !UNITY_6000_1_OR_NEWER
4849
{ (int)TextureFormat.PVRTC_RGB2, RenderTextureFormat.ARGB32 },
4950
{ (int)TextureFormat.PVRTC_RGBA2, RenderTextureFormat.ARGB32 },
5051
{ (int)TextureFormat.PVRTC_RGB4, RenderTextureFormat.ARGB32 },
5152
{ (int)TextureFormat.PVRTC_RGBA4, RenderTextureFormat.ARGB32 },
53+
#endif
5254
#if !UNITY_2018_1_OR_NEWER
5355
{ (int)TextureFormat.ATC_RGB4, RenderTextureFormat.ARGB32 },
5456
{ (int)TextureFormat.ATC_RGBA8, RenderTextureFormat.ARGB32 },

0 commit comments

Comments
 (0)