File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
com.unity.visualeffectgraph Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7373- Fix IsFrontFace shader graph node for VFX.
7474- Fix crash when loading SDF Baker settings holding a mesh prefab [ Case 1343898] ( https://issuetracker.unity3d.com/product/unity/issues/guid/1343898/ )
7575- Exception using gizmo on exposed properties [ Case 1340818] ( https://issuetracker.unity3d.com/product/unity/issues/guid/1340818/ )
76+ - GPU hang on some initialize dispatch during dichotomy (platform specific)
7677
7778## [ 11.0.0] - 2020-10-21
7879### Added
Original file line number Diff line number Diff line change @@ -108,13 +108,16 @@ void CSMain(uint3 groupId : SV_GroupID,
108108 while (left <= right)
109109 {
110110 sourceIndex = (int)((left + right) / 2);
111- if (id < prefixSumSpawnCount[sourceIndex] && (sourceIndex == 0 || id >= prefixSumSpawnCount[sourceIndex-1]) )
112- break;
113-
114- if (id < prefixSumSpawnCount[sourceIndex])
111+ if (id.x < prefixSumSpawnCount[sourceIndex])
112+ {
113+ if (sourceIndex == 0 || id.x >= prefixSumSpawnCount[max(sourceIndex - 1, 0)])
114+ break;
115115 right = sourceIndex - 1;
116+ }
116117 else
118+ {
117119 left = sourceIndex + 1;
120+ }
118121 }
119122 #endif
120123#endif
You can’t perform that action at this time.
0 commit comments