File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
com.unity.render-pipelines.high-definition/Editor/Material/Decal/ShaderGraph Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public override void GetActiveBlocks(ref TargetActiveBlockContext context)
108108 context . AddBlock ( BlockFields . VertexDescription . Position ) ;
109109 context . AddBlock ( BlockFields . VertexDescription . Normal ) ;
110110 context . AddBlock ( BlockFields . VertexDescription . Tangent ) ;
111-
111+
112112 // Decal
113113 context . AddBlock ( BlockFields . SurfaceDescription . BaseColor ) ;
114114 context . AddBlock ( BlockFields . SurfaceDescription . Alpha ) ;
@@ -446,6 +446,9 @@ static class DecalPragmas
446446 {
447447 { CorePragmas . Basic } ,
448448 { Pragma . MultiCompileInstancing } ,
449+ #if ENABLE_HYBRID_RENDERER_V2
450+ { Pragma . DOTSInstancing } ,
451+ #endif
449452 } ;
450453 }
451454 #endregion
You can’t perform that action at this time.
0 commit comments