Minor code refactorings

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-29 16:03:31 +02:00
1 親 c14dd305ae
コミット b24e6b4c0d
27ファイル変更
+131 -121

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -45,7 +45,7 @@ partial class IShaderGenerator
bool supportsDynamicShaders)
{
// Try to get the attribute that controls shader precompilation (has to be present when ComputeSharp.Dynamic is not referenced)
if (!structDeclarationSymbol.TryGetAttributeWithFullMetadataName(typeof(EmbeddedBytecodeAttribute).FullName, out AttributeData? attribute))
if (!structDeclarationSymbol.TryGetAttributeWithFullyQualifiedMetadataName(typeof(EmbeddedBytecodeAttribute).FullName, out AttributeData? attribute))
{
// Emit the diagnostics if dynamic shaders are not supported
if (!supportsDynamicShaders)