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 fddf372c68
commit fb924ea85c
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);
}