Skip to content

Commit

Permalink
Fixed a typo: ShaderResrouceView -> ShaderResourceView.
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed Oct 23, 2023
1 parent bf9a7ec commit 01a90aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/nvrhi/d3d12.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace nvrhi::d3d12
{
RenderTargetView,
DepthStencilView,
ShaderResrouceView,
ShaderResourceView,
Sampler
};

Expand Down
2 changes: 1 addition & 1 deletion src/d3d12/d3d12-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ namespace nvrhi::d3d12
return &m_Resources.renderTargetViewHeap;
case DescriptorHeapType::DepthStencilView:
return &m_Resources.depthStencilViewHeap;
case DescriptorHeapType::ShaderResrouceView:
case DescriptorHeapType::ShaderResourceView:
return &m_Resources.shaderResourceViewHeap;
case DescriptorHeapType::Sampler:
return &m_Resources.samplerHeap;
Expand Down

0 comments on commit 01a90aa

Please sign in to comment.