Add custom shader profile parameter to D2D1 compiler

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-24 21:03:46 +02:00
1 親 ec4dc6f068
コミット 573e6ba546
2ファイル変更
+91 -14

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

@@ -48,7 +48,7 @@ partial class ID2D1ShaderGenerator
token.ThrowIfCancellationRequested();
// Compile the shader bytecode
using ComPtr<ID3DBlob> dxcBlobBytecode = D2D1ShaderCompiler.Compile(hlslSource.AsSpan(), false);
using ComPtr<ID3DBlob> dxcBlobBytecode = D2D1ShaderCompiler.Compile(hlslSource.AsSpan(), shaderProfile.Value, false);
token.ThrowIfCancellationRequested();