DXIL Debugger fix incorrect assert for derivatives

A pixel shader might be simulating a complete subgroup not just a quad
This commit is contained in:
Jake Turner
2025-10-28 15:25:07 +00:00
parent a8e92eeb6a
commit d6fcc5b8b5
+1 -1
View File
@@ -3093,7 +3093,7 @@ bool ThreadState::ExecuteInstruction(const rdcarray<ThreadState> &workgroup)
case DXOp::DerivFineX:
case DXOp::DerivFineY:
{
if(m_ShaderType != DXBC::ShaderType::Pixel || workgroup.size() != 4)
if(m_ShaderType != DXBC::ShaderType::Pixel || workgroup.size() < 4)
{
RDCERR("Undefined results using derivative instruction outside of a pixel shader.");
}