shader: Implement fine derivates constant propagation
This commit is contained in:
parent
6c60109967
commit
b1e325f317
9 changed files with 101 additions and 0 deletions
|
@ -530,6 +530,10 @@ void VisitUsages(Info& info, IR::Inst& inst) {
|
|||
case IR::Opcode::FSwizzleAdd:
|
||||
info.uses_fswzadd = true;
|
||||
break;
|
||||
case IR::Opcode::DPdxFine:
|
||||
case IR::Opcode::DPdyFine:
|
||||
info.uses_derivates = true;
|
||||
break;
|
||||
case IR::Opcode::LoadStorageU8:
|
||||
case IR::Opcode::LoadStorageS8:
|
||||
case IR::Opcode::WriteStorageU8:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue