Skip to content

Commit 032de4f

Browse files
author
Unity Technologies
committed
com.unity.postprocessing@3.1.1
## [3.1.1] - 2021-03-08 ### Fixed - Fix for broken MSVO on desktop platforms. - Fix for compilation issue with BuildTarget error on XboxOne platform.
1 parent bcb95f1 commit 032de4f

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [3.1.1] - 2021-03-08
8+
9+
### Fixed
10+
- Fix for broken MSVO on desktop platforms.
11+
- Fix for compilation issue with BuildTarget error on XboxOne platform.
12+
713
## [3.1.0] - 2021-03-02
814

915
### Added

PostProcessing/Editor/Utils/EditorUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static bool isTargetingConsoles
3232
|| t == BuildTarget.XboxOne
3333
#if UNITY_GAMECORE
3434
|| t == BuildTarget.GameCoreXboxSeries
35-
|| t == BuiltTarget.GameCoreXboxone
35+
|| t == BuildTarget.GameCoreXboxOne
3636
#endif
3737
|| t == BuildTarget.Switch;
3838
}

PostProcessing/Runtime/Effects/AmbientOcclusion.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ public override bool IsEnabledAndSupported(PostProcessRenderContext context)
190190

191191
state &= SystemInfo.supportsComputeShaders
192192
&& !RuntimeUtilities.isAndroidOpenGL
193-
&& SystemInfo.IsFormatSupported(GraphicsFormat.R32_SFloat, FormatUsage.Render | FormatUsage.LoadStore)
194-
&& SystemInfo.IsFormatSupported(GraphicsFormat.R16_SFloat, FormatUsage.Render | FormatUsage.LoadStore)
195-
&& SystemInfo.IsFormatSupported(GraphicsFormat.R8_UNorm, FormatUsage.Render | FormatUsage.LoadStore);
193+
&& SystemInfo.IsFormatSupported(GraphicsFormat.R32_SFloat, FormatUsage.Render | FormatUsage.Sparse)
194+
&& SystemInfo.IsFormatSupported(GraphicsFormat.R16_SFloat, FormatUsage.Render | FormatUsage.Sparse)
195+
&& SystemInfo.IsFormatSupported(GraphicsFormat.R8_UNorm, FormatUsage.Render | FormatUsage.Sparse);
196196
}
197197

198198
return state;

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.unity.postprocessing",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"displayName": "Post Processing",
55
"unity": "2019.4",
66
"unityRelease": "19f1",
@@ -9,11 +9,11 @@
99
"com.unity.modules.physics": "1.0.0"
1010
},
1111
"upmCi": {
12-
"footprint": "4ad4ee02e15ebccc04ee8a3298811078142114ef"
12+
"footprint": "185a52ad9a73a9d64fc210d8393064e4db32cc1b"
1313
},
1414
"repository": {
1515
"url": "https://github.com/Unity-Technologies/Graphics.git",
1616
"type": "git",
17-
"revision": "c3233d84609fb4c1da8b0f1ea07d0b6c75f8c114"
17+
"revision": "075b452f2c4bf910a168632b3cedbd6835477ddd"
1818
}
1919
}

0 commit comments

Comments
 (0)