shader: Add resolution down factor opcode

This commit is contained in:
ReinUsesLisp 2021-07-21 22:24:33 -03:00 committed by Fernando Sahmkow
parent e1f1b85d64
commit 47d1d881cf
9 changed files with 25 additions and 0 deletions

View file

@ -210,6 +210,11 @@ void EmitYDirection(EmitContext& ctx, IR::Inst& inst) {
ctx.Add("MOV.F {}.x,y_direction[0].w;", inst);
}
void EmitResolutionDownFactor(EmitContext& ctx, IR::Inst& inst) {
UNIMPLEMENTED();
ctx.Add("MOV.F {}.x,1;", inst);
}
void EmitUndefU1(EmitContext& ctx, IR::Inst& inst) {
ctx.Add("MOV.S {}.x,0;", inst);
}