Skip to content

Commit

Permalink
Version 0.8.5 Release [Bugfix]
Browse files Browse the repository at this point in the history
Bugfix release
  • Loading branch information
Dreaming381 committed Dec 3, 2023
1 parent 421c209 commit 89edb97
Show file tree
Hide file tree
Showing 23 changed files with 482 additions and 321 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ You can find changelogs for the individual modules in the [official Latios
Framework Documentation
repository](https://github.com/Dreaming381/Latios-Framework-Documentation).

## [0.8.5] – 2023-12-3

Officially supports Entities [1.0.16]

### Changed

- Updated Kinemation to v0.8.5

## [0.8.4] – 2023-11-10

Officially supports Entities [1.0.16]
Expand Down
8 changes: 8 additions & 0 deletions Kinemation/ACL_Unity/Plugins/Android.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Kinemation/ACL_Unity/Plugins/Android/AArch64.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
71 changes: 71 additions & 0 deletions Kinemation/ACL_Unity/Plugins/Android/AArch64/libAclUnity.so.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Kinemation/ACL_Unity/Plugins/Android/ARM32.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
71 changes: 71 additions & 0 deletions Kinemation/ACL_Unity/Plugins/Android/ARM32/libAclUnity.so.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file modified Kinemation/ACL_Unity/Plugins/OSX/AArch64/AclUnity.dylib
Binary file not shown.
Binary file modified Kinemation/ACL_Unity/Plugins/OSX/X86/AclUnity.dylib
Binary file not shown.
Binary file modified Kinemation/ACL_Unity/Plugins/OSX/X86/AclUnity_AVX.dylib
Binary file not shown.
Binary file modified Kinemation/ACL_Unity/Plugins/Windows/AclUnity.dll
Binary file not shown.
Binary file modified Kinemation/ACL_Unity/Plugins/Windows/AclUnity_AVX.dll
Binary file not shown.
18 changes: 13 additions & 5 deletions Kinemation/Systems/Culling/SkinningDispatchSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ namespace Latios.Kinemation.Systems
[DisableAutoCreation]
public partial class SkinningDispatchSystem : CullingComputeDispatchSubSystemBase
{
#if UNITY_ANDROID
// Android devices often have buggy drivers that struggle with groupshared memory.
// They may also not have enough memory for our compute shaders.
const int kBatchThreshold = 0;
#else
const int kBatchThreshold = 682;
#endif

WorldTransformReadOnlyAspect.TypeHandle m_worldTransformHandle;
WorldTransformReadOnlyAspect.Lookup m_worldTransformLookup;

Expand Down Expand Up @@ -1033,14 +1041,14 @@ void ProcessChain(NativeArray<MeshSkinningRequest> requests, NativeArray<Depende

if (hasMultipleMeshes)
{
if (maxMeshBoneCount > 682)
if (maxMeshBoneCount > kBatchThreshold)
BuildCommandsMultiMeshExpanded(requests, meshes, indexInChunk, skeletonBonesCount);
else
BuildCommandsMultiMeshBatched(requests, meshes, indexInChunk, skeletonBonesCount);
}
else
{
if (maxMeshBoneCount > 682)
if (maxMeshBoneCount > kBatchThreshold)
BuildCommandsSingleMeshExpanded(requests, meshes, indexInChunk, skeletonBonesCount);
else
BuildCommandsSingleMeshBatched(requests, meshes, indexInChunk, skeletonBonesCount);
Expand Down Expand Up @@ -2339,9 +2347,9 @@ void ProcessMeshesExpanded(NativeArray<DependentSkinnedMesh> meshes,
mesh.meshVerticesStart,
mesh.meshWeightsStart,
command.largeSkeletonMeshDstStart);
metaBuffer[(int)(prefixSums.meshSkinningCommandsCount * 2 + layouts.meshSkinningCommandsStart)] = meshCommandA;
metaBuffer[(int)(prefixSums.meshSkinningCommandsCount * 2 + 1 + layouts.meshSkinningCommandsStart)] = meshCommandB;
prefixSums.meshSkinningCommandsCount += 2u;
metaBuffer[(int)(prefixSums.meshSkinningCommandsCount * 2 + layouts.meshSkinningCommandsStart)] = meshCommandA;
metaBuffer[(int)(prefixSums.meshSkinningCommandsCount * 2 + 1 + layouts.meshSkinningCommandsStart)] = meshCommandB;
prefixSums.meshSkinningCommandsCount++;
}
}
}
Expand Down
Loading

0 comments on commit 89edb97

Please sign in to comment.