Unwrap shading rate image passed to RSSetShadingRateImage

This commit is contained in:
baldurk committed 2021-02-10 12:58:07 +00:00
1 parent 08201d3645
commit 6de87f21b2
1 file changed
+1 -1
@@ -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))
{