mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 16:55:46 +00:00
glsl/glasm: Pass and use scaling parameters in shaders
This commit is contained in:
parent
d7178ad04e
commit
0d12e498ab
9 changed files with 51 additions and 28 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue