mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 23:27:57 -05:00
glsl/glasm: Pass and use scaling parameters in shaders
This commit is contained in:
committed by
Fernando Sahmkow
parent
4a512d6827
commit
cfeb161c7e
@ -211,7 +211,7 @@ void EmitYDirection(EmitContext& ctx, IR::Inst& inst) {
|
||||
}
|
||||
|
||||
void EmitResolutionDownFactor(EmitContext& ctx, IR::Inst& inst) {
|
||||
ctx.Add("MOV.F {}.x,program.env[0].x;", inst);
|
||||
ctx.Add("MOV.F {}.x,scaling[0].y;", inst);
|
||||
}
|
||||
|
||||
void EmitUndefU1(EmitContext& ctx, IR::Inst& inst) {
|
||||
|
Reference in New Issue
Block a user