gl_graphics_pipeline: Add downscale factor to shader uniforms

This commit is contained in:
ameerj 2021-07-29 13:27:01 -04:00 committed by Fernando Sahmkow
parent 2182d25750
commit f086c82e1f
4 changed files with 19 additions and 5 deletions

View file

@ -211,8 +211,7 @@ void EmitYDirection(EmitContext& ctx, IR::Inst& inst) {
}
void EmitResolutionDownFactor(EmitContext& ctx, IR::Inst& inst) {
UNIMPLEMENTED();
ctx.Add("MOV.F {}.x,1;", inst);
ctx.Add("MOV.F {}.x,program.env[0].x;", inst);
}
void EmitUndefU1(EmitContext& ctx, IR::Inst& inst) {