shader: Add coarse derivatives

This commit is contained in:
FernandoS27 2021-04-17 12:51:43 +02:00 committed by ameerj
parent b1e325f317
commit 2f01c7fb62
7 changed files with 28 additions and 8 deletions

View file

@ -532,6 +532,8 @@ void VisitUsages(Info& info, IR::Inst& inst) {
break;
case IR::Opcode::DPdxFine:
case IR::Opcode::DPdyFine:
case IR::Opcode::DPdxCoarse:
case IR::Opcode::DPdyCoarse:
info.uses_derivates = true;
break;
case IR::Opcode::LoadStorageU8: