Fix [GroupShared] HLSL generation, add unit tests
このコミットが含まれているのは:
1 親
e564864b6c
コミット
689e0e7202
2ファイル変更
+89
-1
検索条件に一致するファイルはありません
@@ -680,7 +680,7 @@ public sealed partial class IShaderGenerator
|
||||
// Shared buffers
|
||||
foreach (var (bufferName, bufferType, bufferCount) in sharedBuffers)
|
||||
{
|
||||
object count = (object?)bufferCount ?? "threadsX * threadsY * threadsZ";
|
||||
object count = (object?)bufferCount ?? "__GroupSize__get_X * __GroupSize__get_Y * __GroupSize__get_Z";
|
||||
|
||||
AppendLF();
|
||||
AppendLineAndLF($"groupshared {bufferType} {bufferName} [{count}];");
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする