Improve and optimize IsSimpleInputShader helper
このコミットが含まれているのは:
1 親
054f0d7879
コミット
a736c3009d
2ファイル変更
+49
-13
検索条件に一致するファイルはありません
@@ -145,7 +145,7 @@ public sealed partial class D2DPixelShaderDescriptorGenerator : IIncrementalGene
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
// Get the shader profile and linking info for LoadBytecode()
|
||||
bool isLinkingSupported = HlslBytecode.IsSimpleInputShader(typeSymbol, inputCount);
|
||||
bool isLinkingSupported = HlslBytecode.IsSimpleInputShader(context.SemanticModel.Compilation, typeSymbol, inputCount);
|
||||
D2D1ShaderProfile? requestedShaderProfile = HlslBytecode.GetRequestedShaderProfile(typeSymbol);
|
||||
D2D1CompileOptions? requestedCompileOptions = HlslBytecode.GetRequestedCompileOptions(diagnostics, typeSymbol);
|
||||
D2D1ShaderProfile effectiveShaderProfile = HlslBytecode.GetEffectiveShaderProfile(requestedShaderProfile, out bool isCompilationEnabled);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする