mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
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:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user