From 3115ba7a3640937df01ecf60f7ff55f71a3ab7c2 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 3 Apr 2018 12:25:51 -0400 Subject: Fixes based on review of feature/dx12 PR. (#473) --- tools/render-test/render-d3d12.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/render-test/render-d3d12.cpp') diff --git a/tools/render-test/render-d3d12.cpp b/tools/render-test/render-d3d12.cpp index 50ef6e575..8827816d9 100644 --- a/tools/render-test/render-d3d12.cpp +++ b/tools/render-test/render-d3d12.cpp @@ -193,7 +193,7 @@ protected: { virtual void setRootConstantBufferView(int index, D3D12_GPU_VIRTUAL_ADDRESS gpuBufferLocation) = 0; virtual void setRootDescriptorTable(int index, D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor) = 0; - virtual void setRootSigniture(ID3D12RootSignature* rootSignature) = 0; + virtual void setRootSignature(ID3D12RootSignature* rootSignature) = 0; }; struct BindParameters @@ -228,7 +228,7 @@ protected: { m_commandList->SetGraphicsRootDescriptorTable(index, baseDescriptor); } - void setRootSigniture(ID3D12RootSignature* rootSignature) + void setRootSignature(ID3D12RootSignature* rootSignature) { m_commandList->SetGraphicsRootSignature(rootSignature); } @@ -251,7 +251,7 @@ protected: { m_commandList->SetComputeRootDescriptorTable(index, baseDescriptor); } - void setRootSigniture(ID3D12RootSignature* rootSignature) + void setRootSignature(ID3D12RootSignature* rootSignature) { m_commandList->SetComputeRootSignature(rootSignature); } @@ -1415,7 +1415,7 @@ Result D3D12Renderer::_bindRenderState(RenderState* renderState, ID3D12GraphicsC { BindingStateImpl* bindingState = m_boundBindingState; - submitter->setRootSigniture(renderState->m_rootSignature); + submitter->setRootSignature(renderState->m_rootSignature); commandList->SetPipelineState(renderState->m_pipelineState); { -- cgit v1.2.3