shader: Implement SampleMask

This commit is contained in:
ReinUsesLisp 2021-04-16 18:47:26 -03:00 committed by ameerj
parent 95815a3883
commit 80940b1706
11 changed files with 22 additions and 2 deletions

View file

@ -343,6 +343,10 @@ void IREmitter::SetFragColor(u32 index, u32 component, const F32& value) {
Inst(Opcode::SetFragColor, Imm32(index), Imm32(component), value);
}
void IREmitter::SetSampleMask(const U32& value) {
Inst(Opcode::SetSampleMask, value);
}
void IREmitter::SetFragDepth(const F32& value) {
Inst(Opcode::SetFragDepth, value);
}