Always generate hardcoded HLSL source
このコミットが含まれているのは:
1 親
249c708466
コミット
8e0aa437bc
5ファイル変更
+43
-167
検索条件に一致するファイルはありません
@@ -47,10 +47,7 @@ partial class IShaderGenerator
|
||||
if (!structDeclarationSymbol.TryGetAttributeWithFullyQualifiedMetadataName(typeof(EmbeddedBytecodeAttribute).FullName, out AttributeData? attribute))
|
||||
{
|
||||
// Emit the diagnostics if dynamic shaders are not supported
|
||||
if (!supportsDynamicShaders)
|
||||
{
|
||||
diagnostics.Add(MissingEmbeddedBytecodeAttributeWhenDynamicShaderCompilationIsNotSupported, structDeclarationSymbol, structDeclarationSymbol);
|
||||
}
|
||||
diagnostics.Add(MissingEmbeddedBytecodeAttributeWhenDynamicShaderCompilationIsNotSupported, structDeclarationSymbol, structDeclarationSymbol);
|
||||
|
||||
return new(true, 0, 0, 0);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする