ジャンプフラッドを横一列のスレッドグループで実行する
・三角メッシュの再計算を高速化-M
このコミットが含まれているのは:
2ファイル変更
+3
-2
検索条件に一致するファイルはありません
@@ -200,7 +200,7 @@ internal readonly partial struct EdgeDistanceSeedShader(
|
||||
}
|
||||
}
|
||||
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[ThreadGroupSize(LowPolyAbstractionSettings.JumpFloodGroupWidth, 1, 1)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct JumpFloodPixelPassShader(
|
||||
ReadWriteBuffer<int> input,
|
||||
@@ -642,7 +642,7 @@ internal readonly partial struct VoronoiScatterShader(
|
||||
}
|
||||
}
|
||||
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[ThreadGroupSize(LowPolyAbstractionSettings.JumpFloodGroupWidth, 1, 1)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct JumpFloodSitePassShader(
|
||||
ReadWriteBuffer<int> input,
|
||||
|
||||
@@ -18,6 +18,7 @@ internal static class LowPolyAbstractionSettings
|
||||
public const int ScratchAlphaCount = 9;
|
||||
public const int ScratchPendingCount = 10;
|
||||
public const int ScanBlockSize = 1024;
|
||||
public const int JumpFloodGroupWidth = 64;
|
||||
public const float AlphaThreshold = 0.05f;
|
||||
public const float EdgeThreshold = 0.06f;
|
||||
public const float EdgeSampleSpacingFactor = 0.02f;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする