initial commit

This commit is contained in:
Jo 2025-01-07 02:06:59 +01:00
parent 6715289efe
commit 788c3389af
37645 changed files with 2526849 additions and 80 deletions

View file

@ -0,0 +1,16 @@
public class BurstReflectionTestsSeparateAssembly
{
[Unity.Jobs.LowLevel.Unsafe.JobProducerType(typeof(MyJobProducerSeparateAssembly<,>))]
public interface IMyGenericJobSeparateAssembly<T>
{
void Execute();
}
private static class MyJobProducerSeparateAssembly<TJob, T>
{
public static void Execute(ref TJob job)
{
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9c07004be90d3814b9a09f7d08b26eb1
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,19 @@
{
"name": "SeparateAssembly",
"references": [
"Unity.Burst"
],
"includePlatforms": [],
"optionalUnityReferences": [
"TestAssemblies"
],
"excludePlatforms": [],
"allowUnsafeCode": true,
"overrideReferences": true,
"autoReferenced": false,
"defineConstraints": [
"UNITY_INCLUDE_TESTS"
],
"versionDefines": [],
"noEngineReferences": false
}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3ce0cf2654ad3464aa58eb2e27f77f0d
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,16 @@
using Unity.Burst;
public static class TypeHashWrapper
{
public static int GetIntHash()
{
return BurstRuntime.GetHashCode32<int>();
}
public static int GetGenericHash<T>()
{
return BurstRuntime.GetHashCode32<SomeStruct<T>>();
}
public struct SomeStruct<T> { }
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 581a69eadade3f4985faa44d7b02aa3d
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: