ComputeSharp.Shaders project switched to Vortice.Windows
このコミットが含まれているのは:
1 親
07b3608fe0
コミット
20166ff27e
3ファイル変更
+14
-14
検索条件に一致するファイルはありません
@@ -8,7 +8,7 @@ using ComputeSharp.Graphics.Buffers.Extensions;
|
||||
using ComputeSharp.Shaders.Renderer;
|
||||
using ComputeSharp.Shaders.Renderer.Models;
|
||||
using ComputeSharp.Shaders.Translation;
|
||||
using SharpDX.Direct3D12;
|
||||
using Vortice.DirectX.Direct3D12;
|
||||
using CommandList = ComputeSharp.Graphics.Commands.CommandList;
|
||||
using PipelineState = ComputeSharp.Graphics.Commands.PipelineState;
|
||||
|
||||
@@ -95,8 +95,8 @@ namespace ComputeSharp.Shaders
|
||||
}
|
||||
|
||||
// Create the root signature for the pipeline and get the pipeline state
|
||||
RootSignatureDescription rootSignatureDescription = new RootSignatureDescription(RootSignatureFlags.None, shaderData.Loader.RootParameters);
|
||||
RootSignature rootSignature = device.CreateRootSignature(rootSignatureDescription);
|
||||
VersionedRootSignatureDescription rootSignatureDescription = new VersionedRootSignatureDescription(new RootSignatureDescription1(RootSignatureFlags.None, shaderData.Loader.RootParameters));
|
||||
ID3D12RootSignature rootSignature = device.CreateRootSignature(rootSignatureDescription);
|
||||
PipelineState pipelineState = new PipelineState(device, rootSignature, shaderData.Bytecode);
|
||||
|
||||
// Create the commands list and set the pipeline state
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする