Fix HLSL generation for delegates with captured constants

このコミットが含まれているのは:
Sergio Pedri committed 2022-06-26 22:42:54 +02:00
1 親 8247d65582
コミット 2aa4c5b1d2
1ファイル変更
+1
@@ -17,6 +17,7 @@ partial class ShaderMethodSourceAttribute : Attribute
{
if (mapping.Add(constant.Key))
{
builder.Append('\n');
builder.Append("#define ");
builder.Append(constant.Key);
builder.Append(' ');