Check for geometry shader as well as tessellation

This commit is contained in:
baldurk committed 2021-10-21 10:54:21 +01:00
1 parent 3cec544508
commit 604b556c67
1 file changed
+2
+2
View File
@@ -313,6 +313,8 @@ void D3D12Replay::PatchQuadWritePS(D3D12_EXPANDED_PIPELINE_STATE_STREAM_DESC &pi
if(pipeDesc.DS.BytecodeLength > 0)
rastFeeding = &pipeDesc.DS;
if(pipeDesc.GS.BytecodeLength > 0)
rastFeeding = &pipeDesc.GS;
uint32_t hash[4];
DXBC::DXBCContainer::GetHash(hash, rastFeeding->pShaderBytecode, rastFeeding->BytecodeLength);