mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 01:29:19 +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:
1 parent
a8e92eeb6a
commit
d6fcc5b8b5
1 file changed
+1
-1
@@ -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