Unwrap shading rate image passed to RSSetShadingRateImage

This commit is contained in:
baldurk
2021-02-10 12:58:07 +00:00
parent 08201d3645
commit 6de87f21b2
@@ -200,7 +200,7 @@ bool WrappedID3D12GraphicsCommandList::Serialise_RSSetShadingRateImage(Serialise
void STDMETHODCALLTYPE
WrappedID3D12GraphicsCommandList::RSSetShadingRateImage(ID3D12Resource *shadingRateImage)
{
SERIALISE_TIME_CALL(m_pList5->RSSetShadingRateImage(shadingRateImage));
SERIALISE_TIME_CALL(m_pList5->RSSetShadingRateImage(Unwrap(shadingRateImage)));
if(IsCaptureMode(m_State))
{