Skip to content

Commit e2b8d40

Browse files
Removed Burst dependency. (#802)
1 parent 06fa7bb commit e2b8d40

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

com.unity.render-pipelines.universal/Runtime/DeferredLights.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using Unity.Jobs;
66
using Unity.Mathematics;
77
using static Unity.Mathematics.math;
8+
//#define URP_HAS_BURST
89

910
// TODO SimpleLit material, make sure when variant is !defined(_SPECGLOSSMAP) && !defined(_SPECULAR_COLOR), specular is correctly silenced.
1011
// TODO use InitializeSimpleLitSurfaceData() in all shader code
@@ -146,7 +147,10 @@ public static class ShaderConstants
146147
public static int _ShadowLightIndex = Shader.PropertyToID("_ShadowLightIndex");
147148
}
148149

150+
// Disable Burst for now since there are issues on macos builds.
151+
#if URP_HAS_BURST
149152
[Unity.Burst.BurstCompile(CompileSynchronously = true)]
153+
#endif
150154
struct CullLightsJob : IJob
151155
{
152156
public DeferredTiler tiler;

com.unity.render-pipelines.universal/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"dependencies": {
99
"com.unity.mathematics": "1.1.0",
1010
"com.unity.render-pipelines.core": "10.0.0-preview.1",
11-
"com.unity.shadergraph": "10.0.0-preview.1",
12-
"com.unity.burst": "1.2.3"
11+
"com.unity.shadergraph": "10.0.0-preview.1"
1312
},
1413
"keywords": [
1514
"graphics",

0 commit comments

Comments
 (0)