Op::ImageRead does not have to be in lockstep

It does not require derivatives
This commit is contained in:
Jake Turner
2025-10-03 18:20:10 +01:00
parent ecd1860789
commit 377280eada
@@ -5423,6 +5423,9 @@ bool ThreadState::CanRunAnotherStep() const
case Op::ImageSampleProjImplicitLod:
case Op::ImageSampleProjDrefExplicitLod:
case Op::ImageSampleProjDrefImplicitLod: return false;
case Op::ImageRead:
// ImageRead does not require derivatives, does not have to be in lockstep
return true;
// derivatives require threads in the tangle to be in lockstep
case Op::DPdx:
case Op::DPdy: