Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Unity.Jobs;
using Unity.Mathematics;
using static Unity.Mathematics.math;
//#define URP_HAS_BURST

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

// Disable Burst for now since there are issues on macos builds.
#if URP_HAS_BURST
[Unity.Burst.BurstCompile(CompileSynchronously = true)]
#endif
struct CullLightsJob : IJob
{
public DeferredTiler tiler;
Expand Down
3 changes: 1 addition & 2 deletions com.unity.render-pipelines.universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"dependencies": {
"com.unity.mathematics": "1.1.0",
"com.unity.render-pipelines.core": "10.0.0-preview.1",
"com.unity.shadergraph": "10.0.0-preview.1",
"com.unity.burst": "1.2.3"
"com.unity.shadergraph": "10.0.0-preview.1"
},
"keywords": [
"graphics",
Expand Down