Fix handling artificial fields in D3D12 constant buffer
このコミットが含まれているのは:
1 親
e4fb230068
コミット
777f8537f2
5ファイル変更
+44
-28
検索条件に一致するファイルはありません
@@ -59,7 +59,7 @@ partial class ComputeShaderDescriptorGenerator
|
||||
writer.WriteLine("/// <inheritdoc/>");
|
||||
writer.WriteGeneratedAttributes(GeneratorName);
|
||||
writer.WriteLine("[global::System.Runtime.CompilerServices.SkipLocalsInit]");
|
||||
writer.WriteLine($"static void global::ComputeSharp.Descriptors.IComputeShaderDescriptor<{typeName}>.LoadConstantBuffer<TLoader>(in {typeName} shader, ref TLoader loader, int x, int y, int z)");
|
||||
writer.WriteLine($"static unsafe void global::ComputeSharp.Descriptors.IComputeShaderDescriptor<{typeName}>.LoadConstantBuffer<TLoader>(in {typeName} shader, ref TLoader loader, int x, int y, int z)");
|
||||
|
||||
using (writer.WriteBlock())
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする