ジャンプフラッドを横一列のスレッドグループで実行する

・三角メッシュの再計算を高速化-M
このコミットが含まれているのは:
routersys committed 2026-09-25 19:32:40 +09:00
1 親 31520cbf4b
コミット 971b0c4151
2ファイル変更
+3 -2

検索条件に一致するファイルはありません

+2 -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,
+1
ファイルの表示
@@ -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;