Fix source generators when using some non-US locales
このコミットが含まれているのは:
1 親
1445dbc50a
コミット
b9127acb36
8ファイル変更
+23
-19
検索条件に一致するファイルはありません
+2
-1
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using ComputeSharp.__Internals;
|
||||
using ComputeSharp.D2D1.__Internals;
|
||||
using ComputeSharp.D2D1.SourceGenerators.Models;
|
||||
@@ -111,7 +112,7 @@ partial class ID2D1ShaderGenerator
|
||||
MemberAccessExpression(
|
||||
SyntaxKind.SimpleMemberAccessExpression,
|
||||
IdentifierName("global::ComputeSharp.D2D1.D2D1ShaderProfile"),
|
||||
IdentifierName(bytecodeInfo.ShaderProfile.GetValueOrDefault().ToString()))))),
|
||||
IdentifierName(bytecodeInfo.ShaderProfile.GetValueOrDefault().ToString(CultureInfo.InvariantCulture)))))),
|
||||
Block(
|
||||
LocalDeclarationStatement(
|
||||
VariableDeclaration(
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする