Skip to content

Commit 663b042

Browse files
committed
Fix Burst complain about two containers maybe aliasing in FilterMipmapJob
1 parent f5ad8e9 commit 663b042

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## [Unreleased]
22

3+
### Fixed
4+
- Fix Burst complain about two containers maybe aliasing in FilterMipmapJob.
5+
36
## [0.1.1] - 2021-07-30
47
### Added
58
- Add `CHANGELOG.md`.

Runtime/ImageImporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ static void FilterMipmapRGBA32(ref FilterMipmapJob job, int outputIndex) {
325325
public NativeSlice<byte> inputMipmap;
326326
public int2 inputDimensions;
327327

328-
[WriteOnly, NativeDisableParallelForRestriction]
328+
[WriteOnly, NativeDisableContainerSafetyRestriction, NativeDisableParallelForRestriction]
329329
public NativeSlice<byte> outputMipmap;
330330
public int2 outputDimensions;
331331

0 commit comments

Comments
 (0)