shader: Add coarse derivatives
This commit is contained in:
parent
04c459fc8d
commit
080857b60e
7 changed files with 28 additions and 8 deletions
|
@ -1933,4 +1933,12 @@ F32 IREmitter::DPdyFine(const F32& a) {
|
|||
return Inst<F32>(Opcode::DPdyFine, a);
|
||||
}
|
||||
|
||||
F32 IREmitter::DPdxCoarse(const F32& a) {
|
||||
return Inst<F32>(Opcode::DPdxCoarse, a);
|
||||
}
|
||||
|
||||
F32 IREmitter::DPdyCoarse(const F32& a) {
|
||||
return Inst<F32>(Opcode::DPdyCoarse, a);
|
||||
}
|
||||
|
||||
} // namespace Shader::IR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue